1, query the installation status of SSH
Rpm-qa |grep SSH
The above command may appear to indicate that RPM is not installed and can be installed using the following command
sudo apt-get install rpm
Some posts can also be installed with Yum, but there may be a hint that Yum is not installed, and if Yum is not installed, you can install it using the following command
sudo apt-get install Yum
2. Install SSH
You can use any one of the following commands
Apt-get Install SSH
Or
Yum Install SSH
After the above 2 steps found no egg, the above steps refer to: http://jingyan.baidu.com/article/08b6a591f0fafc14a9092275.html, directly continue to see other blogs.
Later reference: http://www.linuxidc.com/Linux/2015-03/115056.htm
Installation of the SSH server:
sudo apt-get install Openssh-server
Installation of the SSH client:
sudo apt-get install openssh-client
Start the SSH service
sudo service ssh start
Or
sudo service ssh restart
View the version of SSH
Ssh-v
You can connect to this Linux using the SSH client tool below.
Querying SSH status and installing SSH service under Ubuntu