Logging In to the CLI Using PuTTY over a Network Port
Scenarios
Use PuTTY to access a server over a local area network (LAN).
- You can obtain the PuTTY software from the chiark home page.
- You are advised to use PuTTY of the latest version. PuTTY of an earlier version may cause login failures.
Procedure
- Set an IP address and subnet mask or add route information for the PC to communicate with the server.
- On the PC, double-click PuTTY.exe.
The PuTTY Configuration window is displayed.
Figure 8-3 PuTTY Configuration - In the navigation tree, choose Session.
- Set the login parameters.
The parameters are described as follows:
- Host Name (or IP address): Enter the IP address of the server to be accessed, for example, 192.168.2.10.
- Port: Retain the default value 22.
- Connection type: Retain the default value SSH.
- Set Close window on exit to Only on clean exit.
Set Saved Sessions and click Save. You can double-click the saved record in Saved Sessions to log in to the server next time.
- Click Open.
The PuTTY screen is displayed. Then the message "login as:" is displayed, prompting you to enter a user name.
- If this is your first login to the server, the PuTTY Security Alert dialog box is displayed. Click Yes to proceed.
- If an incorrect user name or password is entered, you must set up a new PuTTY session.
- Enter the user name and password.
If the login is successful, the server host name is displayed on the left of the prompt.