更新当前的ubuntu系统 apt-get update
下载ssh开发工具 apt-get install openssh-server
对配置文件进行修改 vim /etc/ssh/sshd-config
允许root账户登陆 PermitRootLogin yes
使用ps -ef | grep sshd 查找ssh进程编号;
kill -9 pid -9 属于强杀模式
使用/etc/init.d/ssh start
更新当前的ubuntu系统 apt-get update
下载ssh开发工具 apt-get install openssh-server
对配置文件进行修改 vim /etc/ssh/sshd-config
允许root账户登陆 PermitRootLogin yes
使用ps -ef | grep sshd 查找ssh进程编号;
kill -9 pid -9 属于强杀模式
使用/etc/init.d/ssh start