Access Denied for `None'. .. Ssh Error on Windows

Hi I am trying to connect to a server using x2go client. I filled everything out under session preferences.

I am trying to use a RSA/DSA key for ssh connection.

I first made a key in terminal and then tried to use that in x2go but I get the error message

"access denied for `none'. Authentication that can continue : publickey"

I then tried to convert the private key into a public key using PuttyGen. However this public key still gives me same error message when I use it in x2go.

Lastly, I tried to generate a new public and private key using PuttyGen. I'm able to generate the new keys but when I use it in x2go, I still get the same error message

"access denied for `none'. Authentication that can continue : publickey"

Thus, using private keys or public keys, I am still getting this same error message it seems.

What am I doing wrong and how can I fix this error? Thanks

2 Answers

Try using openssh instead (install the OpenSSH client for Windows 10)

Then type:

ssh-keygen -m PEM -P "" -t rsa

That should create a %USERPROFILE%\.ssh\id_rsa(.pub) key file pair (private/public)

Copy the id_rsa.pub public key to your remote server, adding it to ~remoteUSer/.ssh/authorized_keys

Then an SSH would work.

ssh remoteUSer@remoteServer
13

One issue that I have experienced with this is my key had a passphrase on it. I solved the problem by removing the passphrase.

Inside a terminal window:

ssh-keygen -p
  1. Type in the name of the key you want to change
  2. Enter the old passphrase
  3. Enter the new passphrase
  4. Enter the new passphrase again
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest