NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
davidr1
Jul 31, 2021Luminary
ssh: permission denied (publickey)
Hi, I tried to ssh into my 314, root@192.168.x.x I got a message saying, from memory, did I want to import the certificate (yes,no) Replied yes But now what happens is: ssh root@192.168.x.x roo...
- Aug 01, 2021
One thing you could try is deleting the known_hosts file in the pc.
This is in c:\users\user-name\.ssh (which is a hidden folder). You'll get the prompt on whether you want to trust the NAS again after you do this.
StephenB
Jul 31, 2021Guru - Experienced User
Check that "password authentication" is checked in the SSH settings in system->settings->services.
davidr1 wrote:
Hi,
I tried to ssh into my 314, root@192.168.x.x
I got a message saying, from memory, did I want to import the certificate (yes,no)
Was this the first time you used ssh to connect to the NAS on this PC? There will be a prompt asking asking if you trust the NAS, and showing you some fingerprint information. Importing the certificate allows you to avoid that prompt in the future.
- SandsharkJul 31, 2021Sensei - Experienced User
When you enabled SSH, did yoiu check the "Enable password authentication" box?
- davidr1Aug 01, 2021Luminary
Hi StephenB,
Yes - it is and was.
- StephenBAug 01, 2021Guru - Experienced User
One thing you could try is deleting the known_hosts file in the pc.
This is in c:\users\user-name\.ssh (which is a hidden folder). You'll get the prompt on whether you want to trust the NAS again after you do this.
- davidr1Aug 01, 2021Luminary
That worked - thank you very much.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!