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.