Raspberry Pi XShell SSH Remote Terminal Connection


insert image description here

Click image to buy

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

  1. Raspberry Pi 3B+/4B for the system
  2. monitor
  3. HDMI cable
  4. wifi/wired LAN
  5. XShell

Raspberry Pi configuration

  1. 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
insert image description here
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
insert image description here
insert image description here
insert image description here
, the user name and company name are default

insert image description here
insert image description here
insert image description here

The XShell installation is complete here, and the connection is started below

connect

  1. Open after installing XShell

insert image description here
Click on New Session in the upper left corner

insert image description here
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.
insert image description here
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.
insert image description here
Enter the account password and
click OK
insert image description here
. After the account name @raspberrypi appears, the connection is successful.
insert image description here

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
insert image description here

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! ! ! ! ! !

Guess you like

Origin blog.csdn.net/qq_42250136/article/details/123183268