error in locking authority file (backgrounded ssh sessions)
From: Benjamin Rutt (rutt_at_bmi.osu.edu)
Date: 03/30/05
- Next message: robynew_at_yahoo.com: "PuTTY/SSH-2.0-Sun_SSH_1.0.1/SSH-2 rekey bug"
- Previous message: David Magda: "Re: How good is Windows RDP's encryption?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 30 Mar 2005 11:49:12 -0500
I'm using Openssh, recent versions. I am trying to do a command loop
where I launch multiple ssh sessions at once:
$ for h in dc01 dc02 dc03 dc04 dc05; do xterm -e ssh $h & done
On some of these xterms, I see the message:
/usr/X11R6/bin/xauth: error in locking authority file /home/rutt/.Xauthority
This causes the problem that those xterms, although they do launch,
cannot display anything else:
X11 connection rejected because of wrong authentication.
Is there any workaround other than changing it to:
$ for h in dc01 dc02 dc03 dc04 dc05; do xterm -e ssh $h & sleep 2; done
The problem is, it makes the launches much slower, and also, what
value of '2' will work in every case? It works fine on a fast
cluster, but might not on a slower one. If anyone knows any
workarounds, please let me know. Thanks,
-- Benjamin Rutt
- Next message: robynew_at_yahoo.com: "PuTTY/SSH-2.0-Sun_SSH_1.0.1/SSH-2 rekey bug"
- Previous message: David Magda: "Re: How good is Windows RDP's encryption?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|