Unable to authenticate to SFTP using SSH Keys

View some of the Frequently Asked Questions to our support staff. Included are some tips and tricks making this forum ideal for users getting started with GoAnywhere Services. Note: Users can reply to existing topics but only our support staff can add new topics to this forum.

Unable to authenticate to SFTP using SSH Keys

Postby Support_Steve » Wed Oct 21, 2009 10:19 am

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.
Support_Steve
Support Specialist
 
Posts: 13
Joined: Fri May 08, 2009 8:59 am

Re: Unable to authenticate to SFTP using SSH Keys

Postby smandadi » Wed Jul 14, 2010 9:55 pm

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
smandadi
 
Posts: 17
Joined: Mon Jun 14, 2010 3:58 pm

Re: Unable to authenticate to SFTP using SSH Keys

Postby Support_Steve » Thu Jul 15, 2010 8:26 am

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.
Support_Steve
Support Specialist
 
Posts: 13
Joined: Fri May 08, 2009 8:59 am

Re: Unable to authenticate to SFTP using SSH Keys

Postby MS_Blues » Tue Jun 10, 2014 11:50 am

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?
MS_Blues
 
Posts: 2
Joined: Tue Jun 10, 2014 9:53 am

Re: Unable to authenticate to SFTP using SSH Keys

Postby Support_Jon » Thu Jun 12, 2014 8:53 am

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
Support_Jon
Support Specialist
 
Posts: 47
Joined: Thu Jul 19, 2012 9:15 am
Location: Ashland, NE


Return to Knowledge Center

Who is online

Users browsing this forum: No registered users and 1 guest