telnet - How to connect with sshd?
问题描述
I need to connect my laptop (Mac OS) to my Virtual Box (Debian) via sshd and then test telnet in Debian. Problem is I can't seem to connect via sshd.
I get
sshd re-exec requires execution with an absolute path
when I run
sshd root@192.xxx.xx.xx
But if I use an absolute path as suggested I get this instead:
/usr/sbin/sshd root@192.xxx.xx.xxx
Extra argument root@192.xxx.xx.xxx
What is the problem and how does one connect via sshd?
解决方案
sshd
is the dæmon program that listens to SSH port, then let incoming connections in.
You want to use ssh
(without "d") as a client to connect to a remote machine:
usr/sbin/ssh root@192.xxx.xx.xxx
推荐阅读
- java - 如何在 Java、C# 或 Python 中执行此操作?
- python - 从数组中包含的行索引中选择矩阵的列
- url - haproxy 路径操作
- python - Python - 如何在保持数字相同的同时替换字符和数字?
- c - 是什么决定了是否发生分段错误?
- javascript - 如何添加循环来填充此下拉列表?
- javascript - 如何让特定功能摆脱 setInterval 循环>
- java - 多次恢复时活动不平滑滚动
- python - 使用python从特定键的字典列表中获取一个值
- wordpress - ([Bug 主题)标头已由(输出开始于 /homepages/30/d516325486/htdocs/wordpress/wp-content/themes/dimsemenov-Touchfolio