Mccoy
Mccoy

Reputation: 27

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 [email protected]

But if I use an absolute path as suggested I get this instead:

/usr/sbin/sshd [email protected]

Extra argument [email protected]

What is the problem and how does one connect via sshd?

Upvotes: 0

Views: 6101

Answers (1)

Obsidian
Obsidian

Reputation: 3897

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 [email protected]

Upvotes: 2

Related Questions