[RESOLVED] Can't activate public key auth on SSH
Posted: Sat Jan 28, 2023 11:40 am
Hello,
It seems RSA pub key auth is not working on my NAS although password auth does.
I successfuly added my pub key in dedicated form usiing full access option. Key is indeed listed in pub key list.
I tried to restart my NAS after changing SSH conf without success, I keep having "permission denied" error.
I found two topics on this forum that didn't help that much.
SSH client is a WSL Kali Linux. Key is like "SSH-RSA #KEY# root@hostname"
Also, I must add "-oHostKeyAlgorithms=+ssh-rsa" argument to connect to NAS or get "unable to negotiate" error.
Any thoughts welcome!
Nice day to all of you.
It seems RSA pub key auth is not working on my NAS although password auth does.
I successfuly added my pub key in dedicated form usiing full access option. Key is indeed listed in pub key list.
I tried to restart my NAS after changing SSH conf without success, I keep having "permission denied" error.
I found two topics on this forum that didn't help that much.
SSH client is a WSL Kali Linux. Key is like "SSH-RSA #KEY# root@hostname"
Also, I must add "-oHostKeyAlgorithms=+ssh-rsa" argument to connect to NAS or get "unable to negotiate" error.
Any thoughts welcome!
Nice day to all of you.