Raspberry Pi XShell SSH Remote Terminal Connection
foreword
I have described how to install, enable and operate the VNC remote control of Raspberry Pi. This time I will talk about how to enable another remote control SSH.
The VNC and SSH mentioned above are different. One is remote management with a graphical interface, and the other is remote management with a pure command line interface. Relatively speaking, SSH is also more secure, but the application fields of the two remote controls are different, and each has its own Advantages and disadvantages, just choose the one that is suitable for your confidant to use, and then start the installation and connection operation.
Material preparation
- Raspberry Pi 3B+/4B for the system
- monitor
- HDMI cable
- wifi/wired LAN
- XShell
Raspberry Pi configuration
- Turn on the SSH service
After the Raspberry Pi is powered on, click the Raspberry Pi icon in the upper left corner, find the preferences, and click Raspberry Pi Configuration in the preferences
Select Interfaces, change SSH from Disable to Enable and click OK
2. Check the IP address of
Raspberry Pi After returning to the desktop of Raspberry Pi, click "Terminal", enter ifconfig and press Enter
The IP address of my Raspberry Pi is 192.168.3.100, write it down and use it when connecting remotely.
PC side installation software
XSgell 7 download portal
supports genuine
please use genuine software! ! !
Start the installation
, the user name and company name are default
The XShell installation is complete here, and the connection is started below
connect
- Open after installing XShell
Click on New Session in the upper left corner
After the new session window appears,
you can edit the name. If there will be many devices connected later, you can customize the session name to distinguish the device.
Then edit the host column, fill in the Raspberry Pi IP address you just wrote down above, and click OK.
Click to accept and save.
Double-click The newly created session will appear in the login window.
Enter the login account and password of Raspberry Pi.
Enter the account password and
click OK
. After the account name @raspberrypi appears, the connection is successful.
If the login account password of Raspberry Pi has not been customized, the default is
Account: pi
Password: raspberry
Just enter a command to test whether the command is sent normally
The operation is complete.
In the future, as long as the Raspberry Pi is powered on and automatically connected to the network, you can open XShell on the PC side, click the session that has been created, and enter the password to remotely connect to the Raspberry Pi in the LAN, while saving a screen.
Please use genuine software
to support genuine! ! ! ! ! !