Ubuntu安装配置ssh Ubuntu安装和配置ssh教程
置顶 IT观察者 2018-08-15 12:02:29 50132 收藏 61
分类专栏:⼯具 ubuntu ⽂章标签: ssh Ubuntu
版权
⼀般Ubuntu都会默认安装openssh-client,但是没有安装openssh-server。
安装ssh服务器ubuntu安装教程
sudo apt install openssh-server
安装ssh客户端
sudo apt install openssh-client
配置ssh客户端,去掉PasswordAuthentication yes前⾯的#号,保存退出
sudo vi /etc/ssh/ssh_config
配置ssh服务器,把PermitRootLogin prohibit-password改成PermitRootLogin yes,保存退出。重启ssh服务