Windows 10: "Permission denied publickey" When Trying to SSH

Discus and support "Permission denied publickey" When Trying to SSH in Windows 10 Network and Sharing to solve the problem; I've been using Putty to SSH into my pfSense box. I decided to try using a Microsoft PowerShell window to do the same thing. When I try, all I get... Discussion in 'Windows 10 Network and Sharing' started by oreveredrist, Feb 20, 2021.

  1. "Permission denied publickey" When Trying to SSH


    I've been using Putty to SSH into my pfSense box. I decided to try using a Microsoft PowerShell window to do the same thing. When I try, all I get back is "Permission denied publickey." I assume that means the Public Key in my pfSense box i.e., the host isn't matching the public key sitting in the id_rsa.pub file under C:\Users\[username]\.ssh folder. Well, I'm sitting here looking at the two keys and they're identical. Again, that very same public key works just fine with Putty. Anyone have any idea what Windows 10 is complaining about and how to go about fixing it?

    :)
     
    oreveredrist, Feb 20, 2021
    #1
  2. uptoyou1 Win User

    SSH help

    that is working.:smileyhappy:



    after ssh user@localhost the password request is comming up. when I use rootme i get "Permission denied. please try again." this for 3 times followed by "Permission denied (publickey, password).



    same I get when using ssh root@localhost...



    am i using a wrong password resp. how to find out which one is the right one?
     
    uptoyou1, Feb 20, 2021
    #2
  3. Hung Do Win User
    Permission denied (publickey) on Ubuntu

    I know there are already many questions about this but none of them fixes my problem.
    I'm trying to connect my ubuntu to my localhost which runs windows10. However, it gave me this error.

    username@localhost: Permission denied (publickey).

    I tried to use ssh-keygen to create keys on both my ubuntu and windows. That didn't work.
    I guessed it has something to do with authorized_key file but I couldn't find that file in .ssh.
     
    Hung Do, Feb 20, 2021
    #3
  4. "Permission denied publickey" When Trying to SSH

    Windows 10 Pro openssh server permission denied.

    Good day Community.

    I try to setup ssh tunnel which will be used to secure remote desktop session between two computers.

    ssh server OS: windows 10 pro ver 1909(2)

    I installed openssh server via "add optional features."

    When I ssh in I from client with cmd command ssh admin1@ip server replies first with:

    Code:
    The authenticity of host (host's IP)' can't be established.ECDSA key fingerprint is SHA256:JqYEwLJJm/gR9by+aQhftpUsqbRnY06Cv/lRiC4syf4.Are you sure you want to continue connecting (yes/no)? yes
    but when I enter correct password, server replies with:
    "permission denied, please try again" ..."(publickey,password,keyboard-interactive)"
    I then created admin2 account on server and tried ssh in again using admin2 credentials and I was able to dialin no problem.

    ps: admin1's password has ! character, I also tried to use simpler password but this did not help
     
    Bartosz Leszczynski, Feb 20, 2021
    #4
Thema:

"Permission denied publickey" When Trying to SSH

Loading...
  1. "Permission denied publickey" When Trying to SSH - Similar Threads - Permission denied publickey

  2. Permission Denied error when installing software

    in Windows 10 Gaming
    Permission Denied error when installing software: Hi,I've seen several postings where people are having trouble installing software on Windows 10. I have been trying to install the latest version of LibraOffice. The installation kit is an .msi package. It fails at the point of creating a file in the windows\fonts folder.I've...
  3. Permission Denied error when installing software

    in Windows 10 Software and Apps
    Permission Denied error when installing software: Hi,I've seen several postings where people are having trouble installing software on Windows 10. I have been trying to install the latest version of LibraOffice. The installation kit is an .msi package. It fails at the point of creating a file in the windows\fonts folder.I've...
  4. Permission Denied error when installing software

    in Windows 10 BSOD Crashes and Debugging
    Permission Denied error when installing software: Hi,I've seen several postings where people are having trouble installing software on Windows 10. I have been trying to install the latest version of LibraOffice. The installation kit is an .msi package. It fails at the point of creating a file in the windows\fonts folder.I've...
  5. Permission denied

    in Windows 10 Gaming
    Permission denied: I am not able to use anything on my pc except the browser everytime I click on something it says permission denied and you don't specific path and u don't have app associated with it I am not able to use click on window search window button my computer only thing. Is working...
  6. Permission denied

    in Windows 10 Software and Apps
    Permission denied: I am not able to use anything on my pc except the browser everytime I click on something it says permission denied and you don't specific path and u don't have app associated with it I am not able to use click on window search window button my computer only thing. Is working...
  7. Permission denied

    in Windows 10 BSOD Crashes and Debugging
    Permission denied: I am not able to use anything on my pc except the browser everytime I click on something it says permission denied and you don't specific path and u don't have app associated with it I am not able to use click on window search window button my computer only thing. Is working...
  8. When trying to change permissions for DCOM error in regedit access denied

    in Windows 10 Drivers and Hardware
    When trying to change permissions for DCOM error in regedit access denied: This what I get when I try to do the solutions found hereRegedit Permissions -"Access Denied" or "Error while deleting key" EVEN AS ADMIN! microsoft.comThese do not work, no matter how regedit is started, command prompt, admin privilege's, pSExec etc.Still get access denied....
  9. Permissions denied

    in User Accounts and Family Safety
    Permissions denied: I reinstalled win 10 and since then I am not allowed to open folders. Each time I have to release access by opening Properties, etc. I am the administrator and I want to have full access to EVERYTHING. How should I proceed, please?*Mad 130871
  10. Permissions denied

    in Windows 10 Performance & Maintenance
    Permissions denied: I reinstalled win 10 and since then I am not allowed to open folders. Each time I have to release access by opening Properties, etc. I am the administrator and I want to have full access to EVERYTHING. How should I proceed, please?*Mad 130871

Users found this page by searching for:

  1. windows ssh permission denied fingerprint