无法从Mac OS X ssh到Linux

时间:2013-07-16 20:07:08

标签: ssh

我让Linaro在嵌入式系统(Zedboard)中运行。我正在使用Mac终端ssh到这个系统。 Zedboard有一个IP。我在interfaces文件中设置它。此板未连接到Internet,并且未运行任何防火墙。我不能ssh到这台机器。

$ ssh -vvv root@169.254.218.146
OpenSSH_5.6p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 169.254.218.146 [169.254.218.146] port 22.
debug1: connect to address 169.254.218.146 port 22: Connection refused
ssh: connect to host 169.254.218.146 port 22: Connection refused

第三个问题不应该有debug3吗?然而Ping工作。我可以ping得很好,它会响应。任何帮助表示赞赏。谢谢。

编辑:我发现了一些奇怪的行为。我的第一个连接(在启动Linaro之后)实际上超时了。

root@Vinayak’s MacBook Pro ~ $ ssh -vvv root@169.254.218.146
OpenSSH_5.6p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 169.254.218.146 [169.254.218.146] port 22.
debug1: connect to address 169.254.218.146 port 22: Operation timed out
ssh: connect to host 169.254.218.146 port 22: Operation timed out

任何SUBSEQUENT ssh都会拒绝连接结果。

1 个答案:

答案 0 :(得分:0)

第三个调试级别显示的信息都不与此相关。它显示了有关SSH连接的其他详细信息,但此处根本没有建立任何连接,因此没有什么可说的。

您的输出表明Zedboard未运行SSH服务器,或者未配置为接受此IP上的连接。

相关问题