how to connect to remote server via ssh code example Example 1: ssh login windows ssh <username>@<host> Example 2: ssh login ssh [username]@[ip]