如何连接sshd?
How to connect with sshd?
我需要通过 sshd 将我的笔记本电脑 (Mac OS) 连接到我的 Virtual Box (Debian),然后在 Debian 中测试 telnet。问题是我似乎无法通过 sshd 连接。
我明白了
sshd re-exec requires execution with an absolute path
当我运行
sshd root@192.xxx.xx.xx
但是如果我按照建议使用绝对路径,我会得到这个:
/usr/sbin/sshd root@192.xxx.xx.xxx
Extra argument root@192.xxx.xx.xxx
问题是什么?如何通过 sshd 连接?
sshd
是侦听 SSH 端口的守护程序,然后让传入连接进入。
您想使用 ssh
(没有 "d")作为连接到远程机器的客户端:
usr/sbin/ssh root@192.xxx.xx.xxx
我需要通过 sshd 将我的笔记本电脑 (Mac OS) 连接到我的 Virtual Box (Debian),然后在 Debian 中测试 telnet。问题是我似乎无法通过 sshd 连接。
我明白了
sshd re-exec requires execution with an absolute path
当我运行
sshd root@192.xxx.xx.xx
但是如果我按照建议使用绝对路径,我会得到这个:
/usr/sbin/sshd root@192.xxx.xx.xxx
Extra argument root@192.xxx.xx.xxx
问题是什么?如何通过 sshd 连接?
sshd
是侦听 SSH 端口的守护程序,然后让传入连接进入。
您想使用 ssh
(没有 "d")作为连接到远程机器的客户端:
usr/sbin/ssh root@192.xxx.xx.xxx