Log on to your Ubuntu instance through AndroidSSH

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.