Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

How to connect ssh from a specified port?

I know how to connect 'to' a certain port using ssh.
ssh user@remotehostip -p XXX


Is there a way to establish ssh from the port which my local computer will be using?
by

1 Answer

Kajalsi45d
The command syntax you're looking for perhaps is this. ssh -p XXX user@remotehostip You have to change option's order. Try it now, it works for me.

Login / Signup to Answer the Question.