Hi, I tried to but it doesn't change anything. When I enable debug I can see that it blocks on the authentification with the key .. slony: Trying pubkey authentication with key file './vmx.key'
The weird thing is that sometimes it takes less than 1sec and sometimes few minutes... I guess I wiil have to manage that with timeout. On Wed, Feb 4, 2009 at 3:45 AM, Chas. Owens <chas.ow...@gmail.com> wrote: > On Tue, Feb 3, 2009 at 15:38, julien collas <jul.col...@gmail.com> wrote: > > Hi everyone, > > > > I made a script using Net::SSH::Perl and I'm faced to some slow connexion > > times. > > I use rsa key to connect and it seems to be very slow, but not all the > time. > > Sometimes it's very quick ( 1sec ), sometimes not (few minutes). > > I tried to use password instead of a key, and it seems to be quicker. > > You may have an idea to help me .... > > Thanks > > > snip > > The problem may not be in Perl. Try creating a file in the user's > .ssh directory named config and put the following lines in it. > > host * > GSSAPIAuthentication no > > > -- > Chas. Owens > wonkden.net > The most important skill a programmer can have is the ability to read. >