how to ssh with port code example Example 1: ssh custom port fla ssh user@host -p custom_port_no Example 2: ssh on specify port ssh user@remotehostip -p XXX