ubuntu ssh安装
2016-08-05 21:27
232 查看
SSH(Secure Shell)为一项创建在应用层和传输层基础上的安全协议,为计算机上的Shell提供安全的传输和使用环境。
通过SSH可以对所有传输的数据进行加密,也能够防止DNS欺骗和IP欺骗。
1. 安装ssh客户端和服务器
sudo apt-get install openssh-client
sudo apt-get install openssh-server
2. 修改配置
ssh默认的端口号是22,可以更改。
sudo vim /etc/ssh/ssh_config
#Port 22
3. 服务重启
sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh start
sudo /etc/init.d/ssh restart
4. Linux 连接
ssh username@ipaddress
5. windows连接
使用putty软件进行连接
Author
Tony Liu
2016-8-5, Shenzhen
通过SSH可以对所有传输的数据进行加密,也能够防止DNS欺骗和IP欺骗。
1. 安装ssh客户端和服务器
sudo apt-get install openssh-client
sudo apt-get install openssh-server
2. 修改配置
ssh默认的端口号是22,可以更改。
sudo vim /etc/ssh/ssh_config
#Port 22
3. 服务重启
sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh start
sudo /etc/init.d/ssh restart
4. Linux 连接
ssh username@ipaddress
tony@T:~$ ssh tony@192.168.1.107 tony@192.168.1.107's password: Linux T 2.6.32-38-generic #85-Ubuntu SMP Wed Jan 25 13:59:45 UTC 2012 i686 GNU/Linux Ubuntu 10.04.4 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ New release 'precise' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Aug 5 21:18:35 2016 from 192.168.1.104 tony@T:~$
5. windows连接
使用putty软件进行连接
login as: tony tony@192.168.1.107's password: Linux T 2.6.32-38-generic #85-Ubuntu SMP Wed Jan 25 13:59:45 UTC 2012 i686 GNU/Linux Ubuntu 10.04.4 LTS Welcome to Ubuntu! * Documentation: https://help.ubuntu.com/ New release 'precise' available. Run 'do-release-upgrade' to upgrade to it. Last login: Fri Aug 5 20:54:34 2016 from 192.168.1.104 tony@T:~$ ls
Author
Tony Liu
2016-8-5, Shenzhen
相关文章推荐
- Ubuntu(804) SSH远程管理服务器安装配置
- ubuntu下安装及启动ssh
- ubuntu学习整理---ssh安装
- 【转】ubuntu 中科大源设置&ssh 安装与使用
- ubuntu 关闭防火墙 安装ssh
- ubuntu安装ssh和vsftpd
- ubuntu上安装ssh
- ubuntu10.04 安装启动SSH服务
- ubuntu安装ssh失败的原因
- 在ubuntu下安装SSH服务
- ubuntu ssh 服务安装 及 防火墙配置
- ubuntu 安装使用ssh的方法
- Ubuntu 服务器上 SSH Server 的安装和设置
- ubuntu ssh 服务安装及防火墙配置
- ubuntu 9.10 root登录 vi支持backspace与方向键 SSH安装 退出xwindow快捷键设置 apt-get源获取 配置雅黑字体 小企鹅输入法安装 NetBeans字体乱码 编译环境 JDK安装
- ubuntu安装ssh
- [转]Ubuntu 服务器上 SSH Server 的安装和设置
- ubuntu ssh 服务安装 及 防火墙配置
- Ubuntu下SSH安装或设置
- ubuntu下安装telnet/ssh和ftp服务