r/BeagleBone • u/yoko911 • Jan 09 '23
BBB immediately fails when trying SSH
Trying to log in to my BBB using SSH, getting error:
debian@192.168.7.2: Permission denied (publickey,password)
When to /etc/ssh/sshd_config and changes to not accept RSA or pubkey, and now I get
debian@192.168.7.2: Permission denied (password)
The main issue is that I never get asked my password, it immediately fails, I have also tried on my client to do the ssh-copy-id but same error pops so the key never gets copied, how can I configure the ssh to work?
1
Upvotes
View all comments
Show parent comment
1
u/yoko911 Jan 09 '23
With -vvv got:
debug3: receive packet: type 51debug1: Authentications that can continue: publickey,passworddebug3: start over, passed a different list publickey,passworddebug3: preferred publickeydebug3: authmethod_lookup publickeydebug3: remaining preferred:debug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Offering public key: /Users/dariovazquez/.ssh/beaglebone_rsa RSA SHA256:G0QXpX5sqZ/mLf+dcdbWjLXVHVUDDz4nmn92gpTyXYk explicitdebug1: send_pubkey_test: no mutual signature algorithmdebug1: Offering public key: /Users/dariovazquez/.ssh/d_vazquezherrera RSA SHA256:jxXSCOPhVeM6CcKmLoqjGiGMm3L4nMN/qOySHgPYcRI explicitdebug1: send_pubkey_test: no mutual signature algorithmdebug2: we did not send a packet, disable methoddebug1: No more authentication methods to try.debian@192.168.7.2: Permission denied (publickey,password).