Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
We are unable to get a local SFTP test working with public/private keys - the local SFTP server (Port) is running and works with a username and password, however when we add the private/public key it fails. (Please see attached).
How can we fix? Is it the format of the User Public Key path?
Thanks.
The Server Port also has these set:
Require Password Authentication [ON]
Require Public Key Authentication [ON]
We got this working by just using public-key authentication (which is want we wanted):
It seems the “two-factor authentication” checkbox may be needed in the folder management if you’re using both.
In addition to this, we received a “No supported authentication methods available” error, so we needed to use the one-line version of the public key - so rather than:
---- BEGIN SSH2 PUBLIC KEY ---- Comment: “rsa-key-20121022” AAAAB3… ---- END SSH2 PUBLIC KEY ----
… we had to use:
ssh-rsa AAAAB3N…
See: [url]http://askubuntu.com/a/204415[/url]