0% found this document useful (0 votes)
1K views

5.4.3.4 Lab - Remote Access

The document compares SSH and Telnet for accessing a remote host. It provides steps to use SSH and Telnet to connect to localhost and then to connect remotely to a partner's machine by changing the network adapters to bridged mode and using the partner's IP address.

Uploaded by

Roxana Ioana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

5.4.3.4 Lab - Remote Access

The document compares SSH and Telnet for accessing a remote host. It provides steps to use SSH and Telnet to connect to localhost and then to connect remotely to a partner's machine by changing the network adapters to bridged mode and using the partner's IP address.

Uploaded by

Roxana Ioana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Lab – Remote Access

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.

Step 1: Open a terminal window in Ubuntu


a. Log in to Ubuntu using the following credentials:
User: cisco
Password: password

b. Click on the terminal icon to open a terminal window.

Step 2: Telnet to localhost


a. At the command prompt, enter the following command:
cisco@ubuntu:~$ telnet localhost
b. You are prompted for a login account and password for an account that exists on the host:

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 3
Lab – Remote Access

Ubuntu login: cisco


Password: password

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

Step 3: SSH to localhost


a. Type the following command in terminal to access the localhost using SSH:
cisco@ubuntu:~$ ssh localhost

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.

c. You have successfully logged in to your machine using SSH.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 3
Lab – Remote Access

Step 4: Accessing a Remote Host


a. Pick a partner and change the network adapters on both of your virtual machines to bridged. To do this
you will need to release your cursor from the virtual machine, go to Machine > Settings and click
Network and change Attached to: NAT to Attached to: Bridged Adapter. Wait for the network to
reconnect. Now check your IP address by typing in the following command:
cisco@ubuntu:~$ ifconfig

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.

© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy