[Cialug] SSH annoyance

Daniel A. Ramaley daniel.ramaley at drake.edu
Tue Mar 3 14:30:08 CST 2009


On 2009-03-03 at 14:13:27, John Lengeling wrote:
>Just invoke ssh with:
>
>Ssh -X remote-host

Once you know it works, you can make it permanent by adding
"ForwardX11 yes" to your ~/.ssh/config file. If you want to limit it to 
just 1 host, try something like this in ~/.ssh/config, replacing the 
example remote host with something more interesting:

    Host remotehost.example.com
      ForwardX11 yes
      Compression yes
      ServerAliveInterval 300

I add those last 2 lines for hosts that are on slow connections which 
are prone to timeouts.

------------------------------------------------------------------------
Dan Ramaley                            Dial Center 118, Drake University
Network Programmer/Analyst             2407 Carpenter Ave
+1 515 271-4540                        Des Moines IA 50311 USA


More information about the Cialug mailing list