[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ssh on port 21?



Rick Stevens wrote:
Rick Bilonick wrote:

Rick Stevens wrote:

rab wrote:

I can telnet out through the firewall at work but I can't get them to allow me to ssh out to my home pc. Can I open a hole in my router firewall and allow incoming ssh on both ports 21 and 22? (I'm able to ssh into my pc using dial up but not through the company lan.)

<SNIP>


Yes, the ports must match.  If you have the daemon listening on port N,
you must tell the client to use port N, also.  Otherwise the client will
try port 22 and since there's nothing listening on port 22, nothing will
happen.

As Rick said, but additionally, as I indicated last evening, if you are going from work to your house, and your house has a firewall or router, then you need to set up port forwarding on your firewall or router to point the incoming port 21 traffic (if that's what you end up using) to the specific internal machine you want to talk to at home. You seem to have understood that in your original question, but I'm not sure any of us said exactly 'Yes', so I am. ;-)


Good luck,
Mark




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]