Re: [Hampshire] confused ssh newbie

Top Page

Reply to this message
Author: NeilS
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] confused ssh newbie

On Thu, 23 Jun 2011 17:12 +0100, "Benjie Gillam"
<benjie@???> wrote:

> 2222 is an unprivileged port (>1024) so if you shut down sshd you
> should be able to run
>
> nc -v -l -p 2222


> on the server. Then from another computer/device run


I'm no expert, but shouldn't that be `nc -vl 2222` to set up a listener?
I don't think you can use -p with -l.

Neil