Termux learning resources and the steps of connecting xshell on the computer side to termux on the mobile phone side

 

1. Termux learning resources

Termux basic operation and xshell connection termux steps

Termux Tutorial

​​​​Guoguang Termux Tutorial

2. Steps for connecting xshell on the computer side to termux on the mobile phone side:

1. Check the ip address 

On the mobile terminal Termux : Enter ifconfigto view your own ip address, where the one starting with 192.168 after inet is your ip address.

2. Install SSH software

On the mobile terminal Termux :

Enter pkg install openssh to install SSH software, enter pkg install nmap to install nmap , and after installation, enter passwd to add a password (you need to enter it twice), and finally enter sshd and nmap to start the service.

3. Download and use xshell software:

Open the xshell software, click New, enter the name (casual), host, port number (8022 for uniform), and click Connect.

insert image description here

 

After connection, it is shown in the figure below:

After the connection is completed, you can operate the Termux on the mobile phone on the xshell. At this time, the xshell software on the computer is equal to the termux of the mobile phone; if the software is downloaded in the xshell, the termux end of the mobile phone will save the operation results, that is, the downloaded software on the xshell .

Enter exit on xshell to end the connection with termux.

As shown below:

 4. Connect again after exiting termux and xshell:

Open xshell on the computer (don’t click connect first), open Termux and enter sshd on Termux, then click connect on xshell, if the connection fails, try a few more times.

 

 

 

Guess you like

Origin blog.csdn.net/weixin_49663860/article/details/123450506