Install OpenSSHServer in Ubuntu and remotely connect to Ubuntu on the client

Source: Internet
Author: User
There are three ways to install OpenSSHServer in Ubuntu: method 1 (the most troublesome way): You can manually install the specific method and the required installation package by referring to idea. Method 2 (recommended): Only one command is required for command line installation: sud

There are three ways to install OpenSSH Server in Ubuntu:

Method 1 (the most troublesome method): manual Installation

The specific method and the required installation package can refer to the http://www.linuxidc.com/Linux/2011-04/34588p2.htm

I personally do not recommend this method because the OpenSSH Server requires a lot of dependent packages, which is quite troublesome to install manually.

Method 2 (recommended): command line installation

You only need one command:

Sudo apt-get install openssh-server

Later, Ubuntu automatically downloads and installs openssh server, and resolves all dependencies.

For more details, see http://www.linuxidc.com/Linux/2011-04/34588p3.htm

Method 3: Install the SDK through Ubuntu Software Center

First, go to the Ubuntu Software Center and enter "openssh-server" in the search box ";

The openssh-server is displayed in the search result;

Click "Install" to Install the SDK.

The following describes how to remotely connect to Linux in Windows. I use the Putty remote connection tool:

1) first, make sure that your Linux can be connected to the Internet and start the openssh server.

Sudo/etc/init. d/ssh start

# Sudo/etc/init. d/ssh restart

2) run the following command to view the IP Address:

Ifconfig

3) then start it on the clientPuttyEnter the Linux IP address to be remotely connected. The default port number is 22.

 

4) interface after successful connection.

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.