Header Ads

Header ADS

How to Connect to a Remote Server using SSH on Ubuntu?

 Syntax:

ssh remote_username@remote_host

SSH Command to Connect to Server in Ubuntu:

after fire this command, you need to enter password for that server. you can see command with output.

ssh root@134.111.111.111


SSH Command to Connect to Server using pem file in Ubuntu:

after fire this command, you have pem file and you can pass one more parameter here:

Give pem file permission:

chmod 400 ec2private.pem


ssh -i ec2private.pem root@134.111.111.111

No comments

Theme images by fpm. Powered by Blogger.