Professional Documents
Culture Documents
Objectives
Compare SSH and Telnet for accessing a remote host.
Background / Scenario
You will use SSH and Telnet to establish remote connections to a host. SSH is a secure method for remotely
accessing an SSH host. Telnet is an insecure method for accessing a Telnet host.
Required Resources
PC with Ubuntu 16.04 Desktop LTS installed in a VirtualBox or VMware virtual machine.
© 2022 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 4
Lab – Remote Access
You have successfully logged into your own machine using Telnet.
c. At the command prompt, enter the following command to exit this Telnet session:
cisco@ubuntu:~$ exit
© 2022 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 4
Lab – Remote Access
Note: If this is the first time connecting with SSH, the security keys will need to be saved to the system. If
you are prompted as to whether to proceed, type yes to proceed with the connection.
b. Use the password password for the user cisco.
d.
© 2022 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 4
Lab – Remote Access
Note: If you did not receive a new IP address, click the network icon ( ). Disconnect and reconnect
the wired connection.
b. Repeat the SSH and Telnet commands but this time instead of localhost use your partner’s IP address.
c.
© 2022 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 4