Logging In to a Server Over a Network Port Using PuTTY
Scenarios
Use PuTTY to remotely log in to a server over a local area network (LAN) and configure and maintain the server.
Prerequisites
Conditions
- The local PC is connected to the management network port of the server through a network cable.
- PuTTY 0.68 or later has been installed.
The PuTTY of the latest version is recommended, because an earlier version may cause a failure in accessing the server.
Data
- IP address of the server
- User name and password for logging in to the server
Procedure
- Set an IP address and a subnet mask or add route information for the PC, and ensure that the PC can properly communicate with the server.
- On the PC command-line interface (CLI), run the following command to check whether the server is reachable:
Ping Server IP address
- Double-click PuTTY.exe.
The PuTTY Configuration window is displayed, as shown in Figure 6-2.
- Set login parameters.
- Host Name (or IP address): Enter the IP address of the server to be logged in to. For example, 192.168.34.32.
- Port: Retain the default value 22.
- Connection type: Retain the default value SSH.
- Close window on exit: Retain the default value Only on clean exit.
Configure Host Name and 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 login window is displayed.
If this is your first login to the server, the PuTTY Security Alert dialog box is displayed. Click Yes to proceed.
- Enter the user name and password.
- If an incorrect user name or password is entered, you must set up a new PuTTY session.
- If the login is successful, the server host name is displayed on the left of the prompt.