Deepin Linux安装ssh,遇到Package has no installation candidate问题解决方法

来源:互联网 发布:iphone7下载不了淘宝 编辑:程序博客网 时间:2024/05/21 08:40

1.更新,


1.安装sshd

sudo apt-get install openssh-server

2.如果遇到Package has no installation candidate,则需要执行以下命令

sudo apt-get update

3.重新执行1命令,安装。

4.启动sshd服务

sudo /etc/init.d/sshd start

5.客户端连接

ssh username@ipaddress.  如ssh  mylinux@192.168.1.1

阅读全文
0 0
原创粉丝点击