1. Connect with username and password :
ssh username@[IP-ADDRESS]

Example : ssh rudra@192.168.12.12

When it is connected it will ask for password. Enter your ssh user password.

2. Connect using ssh-key

Make your file permission 600

sudo chmod 600 /path/to/ssh-key-file

ssh -i [/path/to/ssh-key-file] username@[IP-ADDRESS]

Example : ssh -i /home/rudra/rudraitnetworks.pem rudra@192.168.12.12

You can use domain name instead of [IP-ADDRESS]

Leave a Reply

Your email address will not be published. Required fields are marked *