telnet remote desktop (1)
TRANSCRIPT
8/20/2019 Telnet Remote Desktop (1)
http://slidepdf.com/reader/full/telnet-remote-desktop-1 1/5
NPOL LAB: Telnet & Remote Desktop 1
Telnet & Remote Desktop
A. Creating a User Account
In this exercise, you will create a user account with a password. The user account name will be
your first name and the password will be ist220.
1. To open User Accounts, go to Start →Settings → Control Panel → User Accounts.
2. Click Create a new user account.
3. Assign Your First Name (No space in the username) as the user name, then click
Next.
4. Select the account type as Limited.
5. Click Create to create the account.
6. Double click on the account that you just created.
7. Click Create a password.
8. Set the password as “ist220”.
B. Telnet
In this exercise, you will activate the TELNET service in PCa and PCb, and then you will log on to
PCb from PCa and to PCa from PCb using the TELNET command. This involves several setups as
follows:
• Assigning proper rights to users to use the TELNET service.
• Activating the TELNET service.
• Testing TELNET service by logging on to PCa and PCb using the TELNET command.
B.1 Telnet Overview
Telnet
is
a
terminal
emulation
program
for
TCP/IP
networks
such
as
the
Internet.
The
Telnet
program runs on your computer and connects your PC to a server on the network. You can
then enter commands through the Telnet program and they will be executed as if you were
entering them directly on the server console. This enables you to control the server and
communicate with other servers on the network. To start a Telnet session, you must log in to a
8/20/2019 Telnet Remote Desktop (1)
http://slidepdf.com/reader/full/telnet-remote-desktop-1 2/5
NPOL LAB: Telnet & Remote Desktop 2
server by entering a valid username and password. Telnet is a common way to remotely
control Web servers and routers. In this exercise, you will activate the Telnet service in your
computer.
B.2
Adding
Users
to
TelnetClients
In the following steps, you will create a user group called “TelnetClients”. The members of
TelnetClients user group have permission to access your computer through a telnet session.
1. Go to Settings → Control Panel → Administrative Tools →Computer Management
(Local).
2. In the console tree, expand Local Users and Groups, and click Groups.
3. Right Click on the Right Window and select New Group. Type “TelnetClients” in the
Group
Name
Window
(it
is
important
to
write
this
exactly
as
it
is),
then
click
Add.
4. In the Object Names Window type “Everyone” to give all users on your computer
the right to access to the TELNET service.
5. Click Ok. Click Create.
B.3 Starting the Telnet Service
In this exercise, you will start the telnet service in PCa and PCb so that users can log on to them
remotely.
Before
starting
the
exercise,
let
us
check
the
open
ports
in
PCa
and
PCb
as
follows:
in PCa in PCb
type “nmap 192.168.1.102 –n” at the
command line
type “nmap 192.168.1.101 –n” at the
command line
Is port 23 open?
Follow the following steps to start the Telnet Service.
1)
Click
Start,
point
to
Settings,
click
Control Panel,
click
Administrative Tools,
then
Services.
2) Find Telnet, and then double click on it.
3) Click
Log On tab. Check
Local system account box. Click
General Tab, and select.
Startup Type as Manual, then click Apply.
8/20/2019 Telnet Remote Desktop (1)
http://slidepdf.com/reader/full/telnet-remote-desktop-1 3/5
NPOL LAB: Telnet & Remote Desktop 3
4) Click Start to start the telnet service in your computer.
5) Click Ok. The telnet service should be running on your computer.
The Telnet service should be running on both computers, use nmap to check the open ports
again as described above. Is port 23/Telnet open?
B.4
Testing
Telnet
In this exercise, you will use the TCP/IP Telnet program to log on to PCa from PCb and to PCb
from PCa . Bring up the command prompt in PCb.
1) At the command line,
in PCa in PCb
type “telnet 192.168.1.102” and press
Enter
type “telnet 192.168.1.101” and press
Enter
2) Read the prompted warning and press Enter without doing anything else. Enter
the
user
name
(ask
your
teammate
for
the
user
name
he/she
created
in
step
A)
and password (ist220).
3) To make sure that you are logged into your teammate computer, type “ipconfig”
at the command line and press Enter.
4) In the telnet command prompt, type “shutdown –s “ and press Enter to shut
down your teammate’s computer ☺.
C.
Remote
Desktop
C.1 Overview
With Remote Desktop in Windows XP Professional, you can have access to a Windows session
that
is
running
on
your
computer
when
you
are
at
another
computer.
This
means,
for
example,
that you can connect to your work computer from home and have access to all of your
applications, files, and network resources as though you were in front of your computer at
work. You can leave programs running at work and when you get home, you can see your
desktop
at
work
displayed
on
your
home
computer,
with
the
same
programs
running.
8/20/2019 Telnet Remote Desktop (1)
http://slidepdf.com/reader/full/telnet-remote-desktop-1 4/5
NPOL LAB: Telnet & Remote Desktop 4
Remote Desktop also allows more than one user to have active sessions on a single computer.
This means that multiple users can leave their applications running and preserve the state of
their Windows session even while others are logged on.
C.2
Set
up
the
Remote
Desktop
Connection
In this exercise, you will configure your computer for the Remote Desktop Connection.
1. Open Control Panel, Click System in the Control Panel.
2. On the Remote tab, check Allow users to connect remotely to this computer
checkbox.
3. Click Select Remote Users. Then, click Add. In the window, type “Student2” for user
name and click Ok to save your settings.
C.3
Using
Remote
Desktop
In this exercise, you will first access PCa Desktop from PCb, and then repeat the same exercise
by accessing PCb from PCa.
1. In PCb, Go to Start → Programs → Accessories → Communication → Remote
Desktop Connection.
2. In the window, type “192.168.1.101”, use the user name “Student2” and password
“student2”.
Click
OK.
Repeat the same exercise and connect PCb from PCa.
D. Capturing and Analyzing Telnet Packets
In this exercise, you will capture Telnet packets and discover user account and password
information from the packets captured. PCa will capture packets while PCb is connecting to the
telnet
service.
1) Only PCa: Bring up the command prompt.
2) PCa and PCb: Start Wireshark and start capturing packets.
3) Only
PCb: At the command prompt, type “telnet 192.168.1.101” and press
Enter to log on to PCa.
8/20/2019 Telnet Remote Desktop (1)
http://slidepdf.com/reader/full/telnet-remote-desktop-1 5/5
NPOL LAB: Telnet & Remote Desktop 5
4) Only
PCb: Enter user name (Student2) and password (student2).
5) PCa and PCb: Stop capturing packets.
6) Analyze each captured packet and try to find out packets that transfer the
password and user name information by looking at their content. Can you see
the password transmitted?