我正在我的笔记本上使用Ubuntu,并试图使用以下命令将SSH应用到我的VPS中:
ssh root@liamwli.co.uk -p xxxx(为保安而移走港口)
然而,它并没有联系。如果我添加了-vvv命令,就会得到以下内容:
OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to liamwli.co.uk [69.85.86.19] port xxxx.
debug1: connect to address 69.85.86.19 port xxxx: Connection timed out
ssh: connect to host liamwli.co.uk port xxxx: Connection timed out它为什么要这么做?它运行良好,并在我的Windows安装上使用putty连接,那么为什么它不使用Ubuntu上内置的ssh客户机呢?
发布于 2013-01-13 20:58:36
由于您甚至无法让ssh客户端连接,所以可以排除密码/密钥auth、根登录等内容。
/etc/hosts (或Windows等效程序)中重写它,或者有一个奇怪的DNS服务器,则IP地址可能会更改。发布于 2013-01-13 20:33:26
通常(默认情况下),SSH不允许连接到根。这是一个安全特性,不应更改。
你试过另一个用户吗?
https://askubuntu.com/questions/240665
复制相似问题