ubuntu desktop2019.10配置ssh连接

1、安装

 apt-get install openssh-server

2、配置允许root账户远程连接

修改/etc/ssh/sshd_config文件为以下

PermitRootLogin yes

3、重新启动ssh

/etc/init.d/ssh restart

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章