Rick Bilonick wrote:<SNIP>
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.)
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.
Good luck, Mark