Logging In Over a Network Port by Using PuTTY
Scenarios
Use PuTTY to remotely log in to a device over a local area network (LAN) and to configure and maintain the device.
Prerequisites
Conditions
The PC is connected to the management network port of the device by using a network cable.
Data
You have obtained the following data:
- IP address of the device to be connected
- User name and password for logging in to the device 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 device.
You can run the Ping Device IP address command on the PC CLI to check the communication between the PC and the device.
- Double-click PuTTY.exe.
The PuTTY Configuration window is displayed, as shown in Figure 8-1.
- Set the login parameters.
Set parameters as follows:
- Host Name (or IP address): Enter the IP address of the device to be logged in to. The default IP address of the Atlas 200 AI accelerator module (model 3000) is 192.168.0.2.
- 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 device the next time.
- Click Open.
The PuTTY window is displayed prompting you to enter your user name next to login as:.
- If this is your first login to the device, 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. For details about the default user name and password, see Atlas Hardware Product User List.
If the login is successful, the host name is displayed on the left of the prompt.
- Run the following command to switch to the root user:
su - root