[Modified Tuesday, Dec 31st 2002 by Michael Assels]
The reason your connection is slow is that your SSH session has to encrypt
everything, including the X Windows traffic. Sometimes this is an
unavoidable expense, but if you're connecting between two Computer Science
Department machines, it's acceptable to bypass the encryption as follows
(assuming you're connecting to alpha from the console of a Linux machine
named "simula"):
simula.username% ssh alpha
...[login on alpha]...
alpha.username% setenv DISPLAY simula:0
If you need to connect with a different username (for example cs12345a), it's a bit more complicated:
simula.username% xauth nlist $DISPLAY | ssh -l cs12345a
alpha "umask 77;xauth-f.xauth-cs12345a nmerge -"
...[password for cs12345a]...
simula.username% ssh -l cs12345a
...[login on alpha as cs12345a]...
alpha.cs12345a% setenv XAUTHORITY .xauth-cs12345a
alpha.cs12345a% setenv DISPLAY simula:0
|