Skip to content

Bash Script to ssh into the vm. This can be used if you configured password less login on your computer.

Notifications You must be signed in to change notification settings

TheSGJ/ssh_vm-bash-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Base Script to SSH into vm

  • This chould be useful if you configured password-less login for your linux virtual machine.
# function to ssh into ubuntu vm

function ubuntu_vm () {
	echo "Welcome to your cloud vm!"
	echo -en "\007"
	bash hello.sh
	paplay notify.wav && ssh sgj@<your_ip_address>
}

ubuntu_vm
  • Replace <your_ip_address> from the following code with your ip address.

About

Bash Script to ssh into the vm. This can be used if you configured password less login on your computer.

Resources

Stars

Watchers

Forks

Languages