Hello,
I want to use my own ssh key.I uploaded my own rsa key with 2048 bits with tftp.
ip ssh pub-key-file tftp key_rsa2048.pub
and show up client-pub-key returns
---- BEGIN SSH2 PUBLIC KEY ----
ssh-rsa ....
---- END SSH2 PUBLIC KEY ----
And my verbose ssh debug messages:
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: RSA ...
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp ...
debug3: sign_and_send_pubkey: RSA ...
Enter passphrase for key ....:
debug3: send packet: type 50
debug3: receive packet: type 51
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug3: send packet: type 50
debug2: we sent a keyboard-interactive packet, wait for reply
debug3: receive packet: type 60
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
Password:
debug3: send packet: type 61
Also after the failed use of the ssh key the normal authentication with password doesn't work too. But without the ssh key the password authentication works .I don't understand this behaviour.
I use the 08.0.70cT211 version. Sorry for the bad layout. I tried to improve it but doesn't work.
Update 1: I upgrade to the version 08.0.90dT221. But it doesn't help.
Update 2: I run ip ssh key-authentication yes. It would be helpful to add this to the documentation.
But I have still the problem that it asks after my password.