[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Public key authentication, *.pub file


Ok, thank you for explaining it. I was just confused because I copied
only the private key after installing new system and then spend quite
some time figuring out why it doesn't work. Shouldn't it be in readme
or somewhere? :)

Gregy

On 19 February 2010 11:18, Aris Adamantiadis <aris@xxxxxxxxxxxx> wrote:
> Hi Gregy,
>
> It's a currently known limitation of libssh. I chose to implement it
> that way because I found it was better that way than asking the user for
> a passphrase when we are not 100% certain that the key will be accepted
> by the server. That's a limitation of the SSH encrypted key file format.
> We will probably make it possible in future, but as a workaround, I propose:
> -Copy the .pub files in ~/.ssh as you already do. That's the default
> behavior of ssh-key command
> -Use the SSH agent. Libssh will communicate with the SSH agent, which
> will store in memory the public and private keys, so you do not have to
> worry about the limitation above (entering passphrase for a key which
> will be refused).
>
> Regards,
>
> Aris
>
> Gregy a écrit :
>> Hello, I think I found a bug in libssh, I am not sure though.
>>
>> I use KDE 4.4 and  when I use public keys to authenticate (with
>> kio_sftp) I need to have *.pub file in ~.ssh . This file shouldn't be
>> required (at least ssh doesn't require it). Only required file should
>> be id_dsa/rsa.
>>
>> Gregy
>>
>
>
>

Follow-Ups:
Re: Public key authentication, *.pub fileAndreas Schneider <mail@xxxxxxxxxxxx>
References:
Public key authentication, *.pub fileGregy <gregy@xxxxxxxx>
Re: Public key authentication, *.pub fileAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org