i have a small problem with a ssh authentification, hope i misunderstood
it, but.

i try to copy a file with scp from server to another and scp doesn't ask
me for a password. problem, i don't setup any key on this box ...

here the details:

soekris4801:touche$ ls ~/.ssh
authorized_keys   known_hosts
soekris4801:touche$ touch test
soekris4801:touche$ scp test [EMAIL PROTECTED]:/tmp/
test                                                       100%    0
 0.0KB/s   00:00

if debug:
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'file' is known and matches the RSA host key.
debug1: Found key in /home/touche/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: rsa-key-xxx
debug1: Server accepts key: pkalg ssh-rsa blen 148
debug1: Authentication succeeded (publickey).

the key (rsa-key-xxx) exist but, as seen before, not on soekris4801 (no
id_(dsa|rsa))
public key is not in authorized_keys (that's another)
known_hosts if for hosts keys so ...

how can it offer this public key ???

thanks
Regards

                Julien

Reply via email to