bash ssh command code example Example 1: ssh command ssh -p <portnumber> hostname Example 2: linux ssh command ssh user_name@host(IP/Domain_name)