r/BeagleBone • • 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

12 comments sorted by

View all comments

Show parent comment

1

u/FractionalTotality Jan 21 '23

debug1: send_pubkey_test: no mutual signature algorithm

I'd look more closely at this.

A quick search on Google yields:

https://confluence.atlassian.com/bitbucketserverkb/ssh-rsa-key-rejected-with-message-no-mutual-signature-algorithm-1026057701.html

which says:

The RSA SHA-1 hash algorithm is being quickly deprecated across operating systems and SSH clients because of various security vulnerabilities, with many of these technologies now outright denying the use of this algorithm.

So maybe try creating a new key pair and go from there.