http://creativecommons.org/licenses/by-sa/4.0/ Copyright statement: This article is the original article of the blogger, and follows the CC 4.0 BY-SA copyright agreement. Please attach the original source link and this statement for reprinting.
Link to this article: [https://blog.csdn.net/github_39655029/article/details/81330387](https://blog.csdn.net/github_39655029/article/details/81330387)
Under normal circumstances, only openssh-client
is installed by default in the installed Ubuntu system. At this time, you can only access other systems through this system connection, but you do not have the authority to allow other systems to access. Check the ssh process in the terminal, enter ps -e|grep ssh
, if openssh-client
is installed, only ssh -agent
will appear, and sshd
will not appear (because the blogger has installed openssh-server
, So sshd
will appear).
At this time, if you want to open the local SSH service so that other systems can log in and access, you must install openssh-server
. The installation process is as follows:
sudo apt-get install openssh-server
in the terminal, and then enter your own root
password (because the blogger has already installed it, so the prompt is to upgrade);ssh-server
service, the opening method, of course, both of these opening methods need to switch to the root
user or provide password permissions; service ssh start
/etc/init.d/ssh start
sshd
and ssh -agent
appear at the same time when viewing the ssh
process again, it means that the openssh -service
has been installed successfully;Recommended Posts