Thanks Phil, that one works as well !

Stu

[EMAIL PROTECTED] wrote:


try

ssh -p <port id> <user>@<host / ip>



        




27/04/2006 10:45
*From * Stuart Bird <[EMAIL PROTECTED]> *To * Peterborough LUG - No commercial posts <[email protected]> *cc * *Subject* [Peterboro] SSH to Non Standard Port from CL
             Please respond to Peterborough LUG - No commercial posts




Hi All

Can anyone tell me the commandline entry that allows me to specify the
port number of the target machine.

I want to remotely access the firewall (running smoothwall) on our lan
for admin purposes but it uses a port number different to the normal 22
for security reasons.

I have tried  for example:

#ssh -D <port-nu8mber> <ip-address>

which is what the man pages suggest but I get a connection refused error
which suggests that it is still trying to go in on port 22.

Do I perhaps have to specify the outgoing port on my box as well as the
target boxes port?

Any suggestions?

Stu



_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

------------------------------------------------------------------------

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro



_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to