Linux Learning Note II: Ubuntu installation SSH (Secure Shell) service

Source: Internet
Author: User

Ubuntu does not have the SSH (Secure Shell) service installed by default, and if you want to link to Ubuntu via SSH, we need to install ssh-server manually.

SSH sub-client ssh-client, server Ssh-server.

1. Determine if the server is installing SSH service, you can use the following command
SSH localhost
Ssh:connect to host localhost port 22:connection refused//This indicates that the SSH service has not been installed

2. Installation commands
sudo apt-get install Openssh-server

3. Uninstall command
sudo apt-get remove Openssh-server

4. Check if the Ssh-server is installed properly
Ps-e | grep ssh
6566? 00:00:00 sshd

5. If not, you can start this way:
Sudo/etc/init.d/ssh Start or service ssh start

Linux Learning Note II: Ubuntu installation SSH (Secure Shell) service

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.