赞
踩
执行命令:sudo apt-get install openssh-server
编辑SSH配置文件:执行:sudo vim /etc/ssh/sshd_config
1.在文件尾部添加下面一行(下面的yourusername使用你的Linux机器上实际存在的用户名)
AllowUsers yourusername
2.设置Port 为较大的一个值(如1218)
3.保存
4.执行:sudo /etc/init.d/ssh restart 或者(sudo /etc/init.d/ssh start )
5.查看IP地址命令:ifconfig
1.新建一个连接,会有智能提示,输入密码之后,出现电脑的终端界面:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。