Logging In to a Server Over a Network Port by Using PuTTY
Scenarios
Remotely log in to the server over a local area network (LAN) using PuTTy to configure and maintain the server.
Prerequisites
Conditions
The PC and the server management network port have been connected by using a network cable.
Data
You have obtained the following data:
- You have obtained the IP address of the server to be connected.
- You have obtained the user name and password for logging in to the server to be connected.
Software Tools
PuTTY.exe: This tool is third-party software. You need to prepare it by yourself.
Procedure
- Set an IP address and a subnet mask or add route information for the PC so that the PC can properly communicate with the server.
You can run the Ping Server IP address command on the PC CLI to check the communication between the PC and the server.
- Double-click PuTTY.exe.
The PuTTY Configuration window is displayed, as shown in Figure 8-13.
- In the navigation pane, choose Session.
- Set the login parameters.
Set parameters as follows:
- Host Name (or IP address): Enter the IP address of the server to be logged in to, for example, 192.168.2.10.
- 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 under Saved Sessions to log in to the server the next time.
- (Optional) After logging in to the Ethernet plane by using PuTTY, if you fail to delete characters on the CLI by using the Backspace key, choose Terminal > Keyboard, and select Control-H under The Backspace key, as shown in Figure 8-14.
- Click Open.
The PuTTY window is displayed, prompting "login as:" for 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 a user name and password.
If the login is successful, the server host name is displayed on the left of the prompt.