An SSH client command initiates a Secure Shell connection to a remote device and supplies the username used for login. The standard form is ssh -l username ip-address; SSH servers listen on TCP port 22. section 5.3.2 section 5.4
Use the command forms according to the client environment:
- ssh -l jeremy 10.0.0.2 connects with username jeremy and then prompts for the account password. section 5.3.2
- ssh username@ip-address provides an alternative syntax on most operating systems, but Cisco IOS supports only the -l form. section 5.3.2 section 5.4
- A successful connection places the user at the remote device’s CLI, such as the SW1> prompt. section 5.3.2
Connect from a Cisco router
R1# ssh -l jeremy 10.0.0.2 Password: SW1> Cisco IOS can therefore act as an SSH client when accessing another device.
