ssh command

ssh is a Unix command used for remotely connecting to other servers using SSH protocol. ssh is sometimes called the ssh client component, while sshd is the server component of SSH software.

The simplest use is to invoke ssh command with a single parameter which is a remote server’s hostname or IP address:

greys@maverick:~ $ ssh vps1.unixtutorial.org
Last login: Fri Oct  5 11:59:37 2018 from 212.129.78.186
greys@vps1:~$

Default port for SSH service is 22, but it’s possible to change it so you may have to specify it as an option for the ssh command:

greys@maverick:~ $ ssh -p 212 s3
Last login: Thu Oct 4 13:41:11 2018 from 212.129.78.20
CentOS Linux release 7.2.1511 (Core)
[greys@s3 ~]$

See Also




Keep Learning

Follow me on Facebook, Twitter or Telegram:
Recommended
I learn with Educative: Educative
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!

Recent Tweets