搭建openssh服務器

安裝ssh服務器

sudo apt install openssh-server

配置ssh服務器

sudo vi /etc/ssh/ssh_config

賬戶密碼登錄:PasswordAuthentication yes
允許root賬戶登錄:PermitRootLogin yes

重啓ssh服務器:sudo service ssh restart

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