Bug#582461: libssh config files

2010-05-30 Thread Laurent Bigonville
Hi,

I've uploaded a 3rd version of the package with a new patch.

Could you please test it and let us know.

Thanks

Laurent Bigonville



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582461: libssh config files

2010-05-30 Thread Yannick Roehlly
Le Sunday 30 May 2010 18:45:59 Laurent Bigonville, vous avez écrit :
 I've uploaded a 3rd version of the package with a new patch.

Hi Laurent,

The v3 packages are like the v2. They work but I once encountered a problem of 
host unknown (the system asks to add a new key fingerprint) and once probably 
an identity file not found (the system asks for a password where key 
identification should be used). I couldn't catch these on log.

I'm sorry, I can't explain these sporadic errors. If this happens again, I'll 
try to catch some logs.

Nevertheless, I think you can upload this package as now the kio-sftp works 
most of the time.

Thanks,

Yannick



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582461: libssh config files

2010-05-28 Thread Andreas Schneider
On Thursday 27 May 2010 23:50:01 Yannick Roehlly wrote:
 Hi Andreas,

Hi Yannick,
 
 My system config file is the standard Debian one. Except for the commented
 lines, the configuration is this one:
 
 Host *
 SendEnv LANG LC_*
 HashKnownHosts yes
 GSSAPIAuthentication yes
 GSSAPIDelegateCredentials no
 
 My local (in home dir) configuration file only overrides HashKnownHosts to
 no and sets some host specific stuff like X11 forwarding, usernames or
 full hostnames (for aliases).

I don't think they cause the problem.
 
 I'm not at ease posting some security related traces on a public place (but
 I'm surely over paranoid). If we can't find the problem, I'll send one to
 you directly.

That would be great. I still wonder what is creating these strange 
directories. It would be great if you could try to these problems. There 
should be a mkdir() in the strace.
 
 Nevertheless, I've done some more testing tonight and it was weird because
 sometimes the known_hosts file is found, sometimes not; sometimes the
 identity file is found, sometimes not (sometimes a very helpful word
 indeed).
 
 I've manage to catch both case on log and when it fails, I have :
 
   access(SSH_DIR/id_rsa, R_OK) = -1 ENOENT (No such file or directory)

I've fixed this. I will ask bigon if he could create packages with the fix for 
you for testing.


Cheers,


-- andreas




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582461: libssh config files

2010-05-28 Thread Laurent Bigonville
Le Fri, 28 May 2010 10:52:21 +0200,
Andreas Schneider a...@cynapses.org a écrit :

Hi
 
 I've fixed this. I will ask bigon if he could create packages with
 the fix for you for testing.

Done

http://people.debian.org/~bigon/libssh/

0.4.3-1bigon2 is with only
http://git.libssh.org/?a=commitdiffp=libsshh=a59e65336dc6958043504e6d7b81509edde61640

Let us know if it works

Thanks

Laurent Bigonville



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582461: libssh config files

2010-05-28 Thread Yannick Roehlly
Hi Andreas, Hi Laurent,

Le Friday 28 May 2010 14:04:08 Laurent Bigonville, vous avez écrit :
 Let us know if it works

The corrected packages works mostly. Some times, Dolphin / kio_sftp says that 
it can't authenticate the host and ask me to confirm the key. If I do so, then 
the weird directory ~/.ssh/?/ is created with a known_hosts file in it.

In the log, I have :

access(/home/yannick/.ssh/\1, R_OK) = -1 ENOENT (No such file or directory)
mkdir(/home/yannick/.ssh/\1, 0700) = 0
open(/home/yannick/.ssh/\1/known_hosts, O_WRONLY|O_CREAT|O_APPEND, 0666) = 
11
...

I'll send you a log.

Sincerely,

Yannick



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#582461: libssh config files

2010-05-27 Thread Andreas Schneider
Thanks for reporting this bug and helping to find and understand it!

Could you provide your /etc/ssh/ssh_config and ~/.ssh/config file that we 
could try to reproduce it on our system.

If possible it would be nice to have a strace log. If you're using kio_sftp 
you find some information how to create it at:

http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves#Attaching_gdb_to_an_io-
slave

Instead of attaching gdb you have to attach strace with:

strace -tt -T -o libssh.log -p pid




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org