版权声明:转载请注明出处,谢谢 https://blog.csdn.net/guoqing2016/article/details/88798913
安装ssh
root@ubuntu: apt-get install openssh-server
安装后需要启动ssh
root@ubuntu: /etc/init.d/ssh restart
允许root登录需要修改配置信息
root@ubuntu: vi /etc/ssh/sshd_config
修改为:
修改保存后再重启ssh
root@ubuntu: /etc/init.d/ssh restart
重启后就可以通过ifconfig查询IP地址并用软件连接了
root@ubuntu: ifconfig