[Leaplist] SSH Ports

Jason Boxman jasonb at edseek.com
Sun Aug 10 16:18:09 EDT 2008


On Sunday 10 August 2008 16:07:09 Gray Frost wrote:
> hello,
>
> I have set up SSH on my computer and I can ssh in just fine.  I would now
> like to change from the default port 22 to port XXXXX  I have changed that
> in the routers virtual ports easy enough.
>
> 1) Where do I make the changes on my ssh host computer?

Yes.

> 2) In the /etc/ssh_config file there is a line "#port 22" (commented out)
> Is this where I make the change?

Yes.

> 3) Do I have have to change anything else?

No.

> 4) Next question:  When ssy'ing or scp'ing in from an other computer is it
> necessary to specifically call out the new port such as:
>
> "ssh -p XXXXX myuser at mydyndns.address"

Yes.

> 5) Does the other comp have to have the same port set up or is the default
> port 22 ok on the other comp?

Default is fine.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list