Skip to content

test if ssh server #42

Description

@AlbanMinassian

Hello

I have a new PC and I immediately installed an iroh-ssh server.

$ iroh-ssh server --persist
Connect to this this machine:

  iroh-ssh xxxxxxxx@623f38ca4d396e304d68ec70c790d6bc4704effa39df15f6e374293e32af0799

  (using persistent keys in /home/xxxxxxxx/.ssh)

client -> iroh-ssh -> direct connect -> iroh-ssh -> local ssh :22
Waiting for incoming connections...
Press Ctrl+C to exit

When I connect with a client, I get the following:

Failed to connect to SSH server: Connection refused (os error 111)

Could the iroh-ssh server command check beforehand that the SSH server is running on port 22 (or --ssh-port) before displaying Waiting for incoming connections... ?

I solved the issue by installing openssh, but I would have appreciated iroh-ssh telling me there was no SSH server running.

Kind regards,
Alban Minassian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions