安装过程中可能产生的问题:
- sudo apt-get install ssh
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Package openssh-server is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
复制代码
上面的情况是因为我们更新安装包:使用下面命令更新一下包就可以了。- sudo apt-get update
- sudo apt-get upgrade
- 命令能找到资源并更新成功。
复制代码
对于下面ssh出现拒绝是因为我们ssh没有安装成功-
- ssh localhost
- ssh: connect to host aboutyun port 22: Connection refused
复制代码
|