简介
Secure Shell(SSH)是Linux系统管理中的经常要用到的一种远程访问技术。在Ubuntu 18.04系统仓库中,已经收录了同为开源的OpenSSH,我们可以用它来为系统开启SSH访问功能。
在Ubuntu 18.04系统中启用SSH登录的具体方法
sudo apt-get install openssh-server
二、修改“ /etc/ssh/sshd_config”:
sudo vim /etc/ssh/sshd_config
PermitRootLogin yes (默认为#PermitRootLogin prohibit-password)
三、重启SSH:
sudo service ssh restart
例如在Windows系统下可以用XShell之类软件,在Linux中则可以使用openssh-client,可以用命令来安装:
sudo apt-get install openssh-client。
更多Ubuntu相关信息见Ubuntu 专题页面 https://www.linuxidc.com/topicnews.aspx?tid=2