I always wanted to know about this. I saw the post this morning and I came back to study it. 1. install the ssh service on Ubuntu. Start sudoapt-getinstallopenssh-server: sudo/etc/init. d/sshstart2. install connectbot on your mobile phone, search for it, and install it. After the installation is complete, try to link your own book. For example, if your ip address is 192.168.8.10,
I always wanted to know about this. I saw the post this morning and I came back to study it.
1. Install the ssh service on Ubuntu,
Sudo apt-get install openssh-server
Start:
Sudo/etc/init. d/ssh start
2. Install connect bot on your mobile phone. Just search for it.
Then, install the SDK. After the installation is complete, try to link your own local file. For example, your ip address is 192.168.8.10, and your username is abc.
Ssh abd@192.168.8.10
It will start to verify the public key. If it is not set, it will of course fail, and then remind you to log on with the password, which is your ubuntu user password.
In a few seconds, the familiar $
3. Add a public key and return to the logon list page. Then, choose manage public key> menu> Generate a public key:
Enter the nickname and password, and then you can touch the screen to generate a random number.
Press and hold the key, and select "copy public key" in the pop-up menu, that is, copy the public key
Return to the interface of the link, log on, and enter
Echo "PUBKEY">. ssh/authorized_keys
Input echo, then menu, paste, and enter
>. Ssh/authorized_keys
Return, relink to see if you do not need to enter the password.
Push after learning various commands
Reference:
The following is a reference link, but you only need to see that the startup is complete.
Http://www.linuxidc.com/Linux/2014-02/96953.htm
Automatic ssh logon methods
Http://www.linuxidc.com/Linux/2014-03/97968.htm