Ubuntu14.04下配置SSH以支持远程putty登录
2015-04-25 10:36
316 查看
------------------------------------ 版权信息 ------------------------------------
此文链接: http://blog.csdn.net/doniexun/article/details/45268365
此文作者: Windness
版权说明: 此文为作者经过检索网上资源及根据个人开发经验整理所得,所有参考文献均已在文末标注,转载请务必保留本文链接及作者信息!
------------------------------------ 版权信息 ------------------------------------
1. Ubuntu14.04安装SSH
命令: # sudo apt-get install openssh-server
2. 启动SSH Server
命令: # sudo /etc/init.d/ssh start
3. 在控制端(安装putty的一侧,Windows或其他Linux OS)安装和配置putty
3.1 下载安装putty
官方主页: http://www.putty.org/
下载页面: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
# 在Windows上,直接下载二进制可执行文件比较方便
二进制可执行文件下载链接: http://tartarus.org/~simon/putty-snapshots/x86/putty.exe
源码下载链接: http://the.earth.li/~sgtatham/putty/latest/putty-src.zip
# 在Linux上,可以下载二进制可执行文件或源码
源码下载链接: http://the.earth.li/~sgtatham/putty/latest/putty-0.64.tar.gz
3.2 配置putty
# Windows上配置Putty
1) 启动Putty, 在session category页上, 输入Host Name或IP Address, 以及Connection Type, 由于Ubuntu一侧的SSH Server的默认监听端口号是22,故一般只需要输入Ubunt一侧提供SSH服务的IP地址或主机名即可,端口号和连接类型分别保持"22"和"SSH"不变即可.
2) 在Putty中, Window/Appearance中设置字体,设置一个Ubuntu一侧可接受的字体.
3) 在Putty中,Window/Translation中设置编码,设置Remote Character Set为UTF-8编码集.
4) 在Putty中, Window/Colors中设置前景色,设置为Default Foreground Color即可.
5) 在Putty中, 回到Session Category页, 输入Session名,并保存(save).
6) 在Putty中, 直接点Open即可进行连接.
注意: 登录时,若无法直接用root帐号登录,可以尝试先登录一个普通用户帐号,再利用su或sudo命令切换身份.
# Linux上配置Putty
TODO 暂时未尝试,以后需要时再补充.
4 参考资料
1) Putty官网 http://www.putty.org 及 http://www.chiark.greenend.org.uk/~sgtatham/putty/
2) SSH Secure Shell Client http://ultra.pr.erau.edu/~jaffem/tutorial/SSH_secure_shell_client.htm
3) ubuntu下安装配置SSH,Putty http://blog.csdn.net/backtracker/article/details/6642784
此文链接: http://blog.csdn.net/doniexun/article/details/45268365
此文作者: Windness
版权说明: 此文为作者经过检索网上资源及根据个人开发经验整理所得,所有参考文献均已在文末标注,转载请务必保留本文链接及作者信息!
------------------------------------ 版权信息 ------------------------------------
1. Ubuntu14.04安装SSH
命令: # sudo apt-get install openssh-server
2. 启动SSH Server
命令: # sudo /etc/init.d/ssh start
3. 在控制端(安装putty的一侧,Windows或其他Linux OS)安装和配置putty
3.1 下载安装putty
官方主页: http://www.putty.org/
下载页面: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
# 在Windows上,直接下载二进制可执行文件比较方便
二进制可执行文件下载链接: http://tartarus.org/~simon/putty-snapshots/x86/putty.exe
源码下载链接: http://the.earth.li/~sgtatham/putty/latest/putty-src.zip
# 在Linux上,可以下载二进制可执行文件或源码
源码下载链接: http://the.earth.li/~sgtatham/putty/latest/putty-0.64.tar.gz
3.2 配置putty
# Windows上配置Putty
1) 启动Putty, 在session category页上, 输入Host Name或IP Address, 以及Connection Type, 由于Ubuntu一侧的SSH Server的默认监听端口号是22,故一般只需要输入Ubunt一侧提供SSH服务的IP地址或主机名即可,端口号和连接类型分别保持"22"和"SSH"不变即可.
2) 在Putty中, Window/Appearance中设置字体,设置一个Ubuntu一侧可接受的字体.
3) 在Putty中,Window/Translation中设置编码,设置Remote Character Set为UTF-8编码集.
4) 在Putty中, Window/Colors中设置前景色,设置为Default Foreground Color即可.
5) 在Putty中, 回到Session Category页, 输入Session名,并保存(save).
6) 在Putty中, 直接点Open即可进行连接.
注意: 登录时,若无法直接用root帐号登录,可以尝试先登录一个普通用户帐号,再利用su或sudo命令切换身份.
# Linux上配置Putty
TODO 暂时未尝试,以后需要时再补充.
4 参考资料
1) Putty官网 http://www.putty.org 及 http://www.chiark.greenend.org.uk/~sgtatham/putty/
2) SSH Secure Shell Client http://ultra.pr.erau.edu/~jaffem/tutorial/SSH_secure_shell_client.htm
3) ubuntu下安装配置SSH,Putty http://blog.csdn.net/backtracker/article/details/6642784
相关文章推荐
- [第一周]Ubuntu 14.10远程登录服务器--ssh的安装和配置
- Ubuntu远程登录服务器--ssh的安装和配置
- Ubuntu 14.04远程登录服务器--ssh的安装和配置简明步骤
- Ubuntu 14.04远程登录服务器--ssh的安装和配置
- Ubuntu 14.04远程登录服务器--ssh的安装和配置
- Ubuntu 开启远程登录 SSH 的安装和配置
- Ubuntu配置SSH远程登录服务器
- Linux-Ubuntu 远程登录服务器--ssh的安装和配置
- 【Linux学习】配置环境:实现【VirtualBox + ubuntu】+【开启ssh服务】+【putty远程连接到虚拟机】
- Ubuntu 16.04远程登录服务器--ssh的安装和配置
- ubuntu 使用root远程ssh登录配置
- Ubuntu 14.04远程登录服务器---ssh的安装和配置
- Ubuntu 14.04远程登录服务器--ssh的安装和配置
- Ubuntu 远程登录服务器--ssh的安装和配置
- Ubuntu中不能使用ssh远程登录的解决办法;ssh服务的安装与配置
- Ubuntu 14.04远程登录服务器--ssh的安装和配置
- ubuntu 12.04配置SSH---为远程登录会话和其它网络服务提供的协议
- ubuntu 9.10 root登录 vi支持backspace与方向键 SSH安装 退出xwindow快捷键设置 apt-get源获取 配置雅黑字体 小企鹅输入法安装 NetBeans字体乱码 编译环境 JDK安装
- 通过PuTTY使用SSH免密码登录Ubuntu Server14.04远程服务器
- Ubuntu 16.04远程登录服务器--ssh的安装和配置