>>  
> Ba da, dar incetisor :)
>
> Inainte sa pornim debugging-ul, ar fi util sa stim daca fenomenul
> apare doar in consola grafica.
> Consola text, da, e chestia aia neagra de care fugim cu totii :)
> So, fa un CTRL+ALT+F2 iar acolo repeta pasii:
>
> killall ssh-agent
> eval $(ssh-agent)
> ssh-add
>
> Mihai
>

Aceeasi problema o am eu pe un opensuse 11. Am adaugat cheile cu ssh-add
si totul merge ok ceva timp, dupa care la fiecare ssh mi se cere parola.
Daca sterg cheile cu ssh-add -D si le adaug din nou cu ssh-add totul
merge ok.

Atasat logurile de inainte de a da ssh-add -D:
[EMAIL PROTECTED]:~> ssh -v [EMAIL PROTECTED]
OpenSSH_5.0p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 194.X [194.X] port 22.
debug1: Connection established.
debug1: identity file /home/florin_samareanu/.ssh/id_rsa type 1
debug1: identity file /home/florin_samareanu/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2
debug1: match: OpenSSH_4.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 [EMAIL PROTECTED]
debug1: kex: client->server aes128-cbc hmac-md5 [EMAIL PROTECTED]
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 '194.50.170.1' is known and matches the RSA host key.
debug1: Found key in /home/florin_samareanu/.ssh/known_hosts:2
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,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/florin_samareanu/.ssh/id_rsa
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Offering public key: /home/florin_samareanu/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/home/florin_samareanu/.ssh/id_dsa':
debug1: read PEM private key done: type DSA
debug1: Enabling compression at level 6.
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8

Al doilea logon e perfect identic, mi se cere parola.

Acum dau ssh-add -D si adaug cheia

[EMAIL PROTECTED]:~> ssh-add -D
All identities removed.
[EMAIL PROTECTED]:~> ssh-add -l
The agent has no identities.
[EMAIL PROTECTED]:~> ssh-add -L
The agent has no identities.
[EMAIL PROTECTED]:~> ssh-add
Enter passphrase for /home/florin_samareanu/.ssh/id_rsa:
Identity added: /home/florin_samareanu/.ssh/id_rsa
(/home/florin_samareanu/.ssh/id_rsa)
Identity added: /home/florin_samareanu/.ssh/id_dsa
(/home/florin_samareanu/.ssh/id_dsa)
[EMAIL PROTECTED]:~> ssh [EMAIL PROTECTED]
Last login: Mon Oct  6 15:38:08 2008 from 85.Y
[EMAIL PROTECTED] ~ $


>
> _______________________________________________
> RLUG mailing list
> [email protected]
> http://lists.lug.ro/mailman/listinfo/rlug


_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui