Temat: SSH z public key przestał działać po 1.6.2.1 (b70bfc1)
Jak w temacie - po aktualizacji do 1.6.2.1 (b70bfc1) ssh z uwierzytelnieniem po kluczu OpenSSH przestał działać. Podejrzewam coś w nowym DropBear, ale co tego nie wiem.
Wszystkie klucze z /etc/dropbear/authorized_keys przestały działać - router pyta się o hasło.
Log z SSH:
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
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 RSA public key: /home/******/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Offering RSA public key: /home/******/.ssh/KEY_NAME_HERE
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Offering RSA public key: /home/******/.ssh/KEY_NAME_HERE_2
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: passwordA tak wyglądają uprawnienia:
root@router:~# ls -la /etc/dropbear/
drwxr-xr-x 1 root root 0 Jan 1 1970 .
drwxrwxr-x 1 root root 0 Sep 5 23:49 ..
-rw------- 1 root root 810 Jan 17 2014 authorized_keys
-rw------- 1 root root 458 Jan 1 2001 dropbear_dss_host_key
-rw------- 1 root root 426 Jan 1 2001 dropbear_rsa_host_keyJakieś pomysły / sugestie co może być tego powodem? Nic poza wymianą firmware w routerze nie zmieniałem.
/Sławek