- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
ssh: permission denied (publickey)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
root@192.168.x.x: Permission denied (publickey).
I've never come accross this before. Any help, please? (Unsuccessful on google & netgear)
Regards,
david
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ssh: permission denied (publickey)
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ssh: permission denied (publickey)
When you enabled SSH, did yoiu check the "Enable password authentication" box?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ssh: permission denied (publickey)
Hi StephenB,
Yes - it is and was.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: ssh: permission denied (publickey)
That worked - thank you very much.