1. 首页 > ITPUX技术网 > 正文

solaris中root不能通无sshd远程登录

让solaris中root远程ssh的方法:
—————–
让root可以远程ssh
vi /etc/ssh/sshd_config
PermitRootLogin no
在前面加个#
或者PermitRootLogin yes

bash-2.05# ps -ef | grep ssh
root 516 1 0 Dec 27 ? 0:00 /usr/lib/ssh/sshd
root 2006 1728 0 09:52:49 pts/3 0:00 grep ssh
bash-2.05# kill -9 516
to start
bash-2.05# /usr/lib/ssh/sshd

本文由风哥教程整理发布,仅用于学习测试使用,转载注明出处:http://www.fgedu.net.cn/10327.html

联系我们

在线咨询:点击这里给我发消息

微信号:itpux-com

工作日:9:30-18:30,节假日休息