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