blog迁移至:http://www.micmiu.com

[1]激活root账户

sudopasswdroot

[2]开启sshserver服务

Ubuntu缺省只安装了sshclient

安装:apt-getinstallopenssh-server一般安装成功后服务就启动了

启动命令:/etc/init.d/sshrestart

ssh-server配置文件:/etc/ssh/sshd_config

-----------------------------------分------------------------------------隔------------------------------------线--------------------------------------