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:

[email protected]:~ $ ssh
Last login: Fri Oct  5 11:59:37 2018 from
[email protected]:~$

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:

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

See Also

Keep Learning

Follow me on Facebook, Twitter or Telegram:
I learn with Educative: Educative I'm also a fan of SetApp for macOS: SetApp for macOS
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 Articles
31 Jan 2023

Homelab: MacBook Pro M2

17 Nov 2022

Video: awk delimiters

25 Oct 2022

macOS Ventura 13.0

Recent Tweets