putty连接 ubuntu 相关配置
1.Ubuntu 下载openssh-server
调用命令:sudo apt-get install openssh-server
2.查看server
确认sshserver是否启动:ps -e | grep ssh
如果有出现sshd就可以证明ssh-server已经启动了。如果没有出现的话,需要/etc/init.d/ssh start来启动服务。
3.windows下载putty
填写linux ip地址及端口22(端口号默认22)
IP地址:进入linux 输入ifconfig 获得IP地址;
Open即可连接