SSH的安装
1.首先更新源列表
sudo apt-get update
2.安装SSH服务
$sudo apt-get install openssh-server
$sudo apt-get install ssh
注:
1.启动/停止/重启服务:/etc/init.d/ssh start|stop|restart
2.OpenSSH的配置都集中在/etc/ssh/ssh_config文件中,如修改默认连接端口,限制登录IP等。
分类:Ubuntu
标签: