windows 系统通过 puttty软件 SSH 登陆 Ubuntu
2016-07-13 23:57
337 查看
windows 系统通过 puttty软件 SSH 登陆 Ubuntu
1.在Ubuntu上 安装 ssh-server
sudo apt-get install openssh-server2. 查看ssh-server状态
ps-e | grep ssh
如果出现
sshd 则表示已启动
如果未启动, 输入sudo /ect/init.d/ssh start.
或者 sudo
/ect/init.d/ssh restart
3.进行ssh-server配置
打开sshd_config文件gedit
/etc/ssh/sshd_config
其中 port 22 为端口,可以自己修改,最好大于20000.
将PermitLogin without-password 注释掉
即改为 #PermitLogin
without-password
之后,再输入PermitLogin
yes
4.查看本机IP
ifconfig无线连接:查看 wlan
有线连接:查看 eth0
5.在putty客户端输入对应ip数据,端口数据即可
相关文章推荐
- 利用SharePoint 2013 定制Service Desk 服务台!
- 7月13日实习报告
- springMVC非注解常用的"处理器映射器"、"适配器"、"处理器"
- Ipv6_Only-b
- Fckeditor漏洞利用方法总结
- 一次$_REQUEST的count参数异常BUG排查
- IntelliJ IDEA Git 使用
- Java基础入门-常用类
- 都是这样逐渐失去了梦想么?
- mydumper原理2
- 从字符串获得MAC地址的方法
- 数据库调优过程(四):提高数据库写入修改方案
- FTP命令
- hdu 5143 NPY and arithmetic progression(思路,枚举)
- eclipse出现Failed to create the part's controls
- 如何修改eclipse的workspace路径
- 调用相册怎么设置剪裁-b
- Android MVP优化
- 7月12日实习报告
- ASP.NET MVC5 网站开发实践