0

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?

kalehmann
  • 4,821
  • 6
  • 26
  • 36
Mccoy
  • 27
  • 1
  • 4

1 Answers1

2

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
Obsidian
  • 3,719
  • 8
  • 17
  • 30
  • 1
    Think I misunderstood the instructions I got (they're very unclear I have to say), but at least I know there's no need to use sshd but ssh only. Thanks. – Mccoy May 09 '19 at 15:26