Unable to ssh nodes with global IP

Steven Stern subscribed-lists at sterndata.com
Mon Oct 24 13:31:25 UTC 2011


On 10/23/2011 06:04 AM, Reindl Harald wrote:
> 
> 
> Am 23.10.2011 12:58, schrieb suvayu ali:
> 
>> I am no expert, I just said what worked for me in the past. I ssh into
>> many systems everyday so changing to non-standard ports is
>> inconvenient
> 
> where is there any single problem if you can read manuals?
> you have to specify the port only once per client and after
> that rsync, ssh, scp and sftp even in konqueror is using this
> port
> 
> cat /etc/ssh/ssh_config 
> Host                                *
> GSSAPIAuthentication               no
> Compression                       yes
> CompressionLevel                    9
> Protocol                            2
> StrictHostKeyChecking             ask
> 
> Host              yourhost.domain.tld
> Port                            10022
> 

If the issue is with the ISP blocking 22, then leave SSHD on port 22 and
simply map some external port on the WAN router (e.g., 10022) to 22
internally. It makes life a lot easier, because no matter how many
machines you have on the internal network, you control it from a single
point.



-- 
-- Steve


More information about the users mailing list