默認ssh服務是啓動的,但不允許root訪問,需要修改/etc/ssh/sshd_config文件,將
permitrootlogin no 改爲 yes
svcadm enable netwrok/ssh 啓動ssh服務
svcadm disable network/ssh 關閉ssh服務
svcadm restart network/ssh 重啓ssh服務
svcs -l network/ssh 查看ssh服務的狀態
默認ssh服務是啓動的,但不允許root訪問,需要修改/etc/ssh/sshd_config文件,將
permitrootlogin no 改爲 yes
svcadm enable netwrok/ssh 啓動ssh服務
svcadm disable network/ssh 關閉ssh服務
svcadm restart network/ssh 重啓ssh服務
svcs -l network/ssh 查看ssh服務的狀態