开启ssh
使solaris中的root用户能远程连接(secureCRT,putty,XShell...)。
一、修改/etc/ssh/sshd_config
vi /etc/ssh/sshd_config
找到
PermitRootLogin no
修改为
PermitRootLogin yes
重启ssh服务
1.杀死进程法
1)、查找服务 ps -ef | grep ssh
2)、杀掉服务 kill -9 516
3)、启动服务 /usr/lib/ssh/sshd