1. Change the file /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no
2. restart the services
# svcadm restart svc:/network/ssh:default
1. Change the file /etc/ssh/sshd_config with PermitRootLogin yes to replace PermitRootLogin no
2. restart the services
# svcadm restart svc:/network/ssh:default
转载于:https://www.cnblogs.com/syksky/p/4605505.html