Page 1 of 1

Unable to authenticate to SFTP using SSH Keys

Posted: Wed Oct 21, 2009 10:19 am
by Support_Steve
When configuring a web user's authentication settings to SFTP you can allow the user to authenticate using a public SSH key. This can replace the need for a password or enhance your security settings by forcing the user to provide both a password and a key.

In order for this to work you must place the web users public key into the *installation folder*/userdata/keys/ssh/ directory. The file name must match the user name with the .pub extension (e.g. jsmith.pub).

Update

With version 3.1.0 and later of GoAnywhere Services, this process has changed. The SSH keys are now stored in the GoAnywhere Services database and are no longer stored on the file system. Please refer to the Web Users SSH Keys section of the GoAnywhere Services User's Guide for more information.

Re: Unable to authenticate to SFTP using SSH Keys

Posted: Wed Jul 14, 2010 9:55 pm
by smandadi
Really the only question, I had on the Services, and is answered here..
Could you please get this one on to the Standard User Guide.. That would make the Guide complete

Re: Unable to authenticate to SFTP using SSH Keys

Posted: Thu Jul 15, 2010 8:26 am
by Support_Steve
I'm glad this topic was able to assist you. I will make sure the help documentation is updated with SFTP key authentication information in the next release.

Re: Unable to authenticate to SFTP using SSH Keys

Posted: Tue Jun 10, 2014 11:50 am
by MS_Blues
Support_Steve wrote:
When configuring a web user's authentication settings to SFTP you can allow the user to authenticate using a public SSH key. This can replace the need for a password or enhance your security settings by forcing the user to provide both a password and a key.

In order for this to work you must place the web users public key into the *installation folder*/userdata/keys/ssh/ directory. The file name must match the user name with the .pub extension (e.g. jsmith.pub).

Does importing a public key via "SSH Key Manager" and then associating that key with the WebUser accomplish the same results? Or do I still need to go place the .pub file into the /userdata/keys/ssh directory?

Re: Unable to authenticate to SFTP using SSH Keys

Posted: Thu Jun 12, 2014 8:53 am
by Support_Jon
You are correct. This post was from a few years back and we have changed how we manage SSH keys in GoAnywhere Services. With the 3.1.0 release, we started storing SSH keys in the GoAnywhere Services database and no longer stored them on the file system.

I will update the original post to indicate that those details are for pre 3.1.0 installations and then add specifics on how it changed moving forward.

We do have a section specific to this topic within the GoAnywhere Services User's Guide titled Web User SSH Keys that outlines that process.

Thanks - Jon