ssh connection with command code example Example 1: ssh connect command ssh your_username@host_ip_address Example 2: ssh command ssh -p <portnumber> hostname