Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 222010
 

Use an alternative port when connecting to remote server using SSH

Answer:

Sometimes the SSH server port is not the standard 22 for security reason. So when you connect it, you need to specify the alternative port used with the -p argument.

E.g.

# ssh -p 12345 [email protected]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>