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 13One 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 - Type in the name of the key you want to change
- Enter the old passphrase
- Enter the new passphrase
- Enter the new passphrase again