Re: [Hampshire] confused ssh newbie

Kezdőlap

Reply to this message
Szerző: NeilS
Dátum:  
Címzett: Hampshire LUG Discussion List
Tárgy: 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