SSH is a network protocol used for performing remote operation securely, including command-line logins, command executions and data communications. The ssh command in Unix operating systems implements the SSH protocol between an SSH client running on the local machine and an SSH server running on the remote machine.
* if username same on both 'local' and 'remote' host
ssh remote_host
* if username same on both 'local' and 'remote' host
ssh remote_username@remote_host
Example:
remote_host : 10.10.10.10
remote_username : admin
remote_password : password
1. ssh remote_username@remote_host [e.g. ssh admin@10.10.10.10 ]
Note :
If this is first time you will see a message like this,
ECDSA key fingerprint is SHA256:E03Sku6m5XZNEqxJokopaP9SHKVopVw4vwAkJQZ4a+E.
Are you sure you want to continue connecting (yes/no)?
2. yes
Note :
You will see another message
Warning: Permanently added 'remote_host' (ECDSA) to the list of known hosts.
admin@remote_host's password: _
3. Enter password
Note :
For successful login, system returns the remote hosts information
[e.g. Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-96-generic x86_64)
Last login: Tue Oct 4 05:11:49 2016 from 27.147.155.58 ]
* if username same on both 'local' and 'remote' host
ssh remote_host
* if username same on both 'local' and 'remote' host
ssh remote_username@remote_host
Example:
remote_host : 10.10.10.10
remote_username : admin
remote_password : password
1. ssh remote_username@remote_host [e.g. ssh admin@10.10.10.10 ]
Note :
If this is first time you will see a message like this,
ECDSA key fingerprint is SHA256:E03Sku6m5XZNEqxJokopaP9SHKVopVw4vwAkJQZ4a+E.
Are you sure you want to continue connecting (yes/no)?
2. yes
Note :
You will see another message
Warning: Permanently added 'remote_host' (ECDSA) to the list of known hosts.
admin@remote_host's password: _
3. Enter password
Note :
For successful login, system returns the remote hosts information
[e.g. Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-96-generic x86_64)
Last login: Tue Oct 4 05:11:49 2016 from 27.147.155.58 ]
Comments
Post a Comment