Enable the SSH service to allow remote access to Ubuntu14.04 by the Android mobile phone

Source: Internet
Author: User
Today, I suddenly thought of connecting to Ubuntu with an Android phone. This will use SSH. However, UBUNTU does not install SSH-related services by default. Therefore, you must install it on your own! Start installing the SSH service. After the terminal is sudoapt-getinstallopenssh-server installed, start the SSH service. Terminal: sudo/etc/init. d/sshstart: Check whether the startup is successful. Terminal: ps-e | grepsshd,

Today, I suddenly thought of connecting to Ubuntu with an Android phone. This will use SSH. However, SSH-related services are not installed in Ubuntu 14.04 by default, so you need to install them on your own!

Start installing the SSH service. Terminal: sudo apt-get install openssh-server

After installation, start the SSH service, terminal: sudo/etc/init. d/ssh start. Check whether the SSH service has been started successfully. Terminal: ps-e | grep sshd. If there is an sshd process, it indicates that the ssh service has been started successfully!

The default connection port is 22, which can be changed. The configuration file is/etc/ssh/sshd_config. To change the configuration, restart the SSH service.

Then install an SSH client on the Android phone, use ifconfig to view the Internet ip address of the local computer, and then use this ip address to connect the Android phone to Ubuntu!

Solve http://www.linuxidc.com/Linux/2013-07/86879.htm with latency issues during OpenSSH Remote Login

Ubuntu 12.10 OpenSSH offline Installation Method http://www.linuxidc.com/Linux/2013-04/82814.htm

OpenSSH upgrade steps and precautions http://www.linuxidc.com/Linux/2013-04/82123.htm

OpenSSH common users cannot log on to several cases solution http://www.linuxidc.com/Linux/2012-05/59457.htm

General thread: OpenSSH key management, Part 1 RSA/DSA certified http://www.linuxidc.com/Linux/2011-08/39871.htm

RedHat install OpenSSH and configure sftp lock directory http://www.linuxidc.com/Linux/2012-12/75398.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

For more information about Android, see Android topics page http://www.linuxidc.com/topicnews.aspx? Tid = 11

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-09/106809.htm

Related Article

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.