远程登录ubuntu ssh安装报错(Package openssh-server is not available)的问题



远程登录ubuntu ssh安装报错(Package openssh-server is not available)的问题
 
首先确定你的ubuntu能够联网(我用的是虚拟机,用桥接方式,设置ubuntu和虚拟网卡和真正的电脑一个网段,然后就能上网了),然后执行:
sudo apt-get update
 
结束后执行:
sudo apt-get install openssh-server
  www.2cto.com  
然后查看ssh
ps -ef | grep ssh
如果看到sshd说明成功。
 
然后可以在其他地方用ssh工具远程登录了。
 
 
 
作者 bnmnba

相关内容

    暂无相关文章