SSH Commands To connect to a server, use the SSH command, along with the server user and IP address ssh username@12.34.56 To generate a SSH key, use the ssh-keygen command ssh-keygen