ssh的一些配置

vi ./ssh/config
vim

ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ControlPersist 30d
服務器


容許使用root帳號直接登陸服務器:ssh

vim /etc/ssh/sshd_configide

PermitRootLogin yesrest

service sshd restartit

相關文章
相關標籤/搜索