Published May 22nd, 2007 by admin

Correct syntax for using SSH and SFTP on irregular ports

This is a little more advanced than the last few topics but I want to appeal to all Ubuntu/Linux users over time and not just beginners…

So without further ado, here is a few ssh syntax tips (this also applies to most versions of Linux):

 (replace items in < > with your stuff, without the < >)

ssh -p <port number> <username>@<server name>

SSH to accept socks 5 proxy on port you specify:
ssh -p <port number> <username>@<server name> -D <port to watch>

sftp -oPort=<port number> <username>@<server name>

Forward the X server from your remote box:
ssh -X -p <port number> <username>@<remote computer>

Technorati Tags: , , ,

0 Responses to “Correct syntax for using SSH and SFTP on irregular ports”

Feed for this Entry Trackback Address
  1. No Comments

Leave a Reply

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>