I am looking for the correct settings to use sFTP within cloverleaf.
I want to use it using a PKI key pair.
Within the protocol properties of FTP, one can indicate the physical location of a key pair, including the value of the private key passphrase.
If I use a Puttygen generated keypair, an error is logged in the process log indicating : * SSH public key authentication failed: Invalid key data, not base64 encoded.
After that occured I totally stripped the public key of all irrelevant content (including hard returns) and tried again.
This time the logged error was: * SSH public key authentication failed: Invalid public key data
The PuttyGen generated public key looked as follows:
—- BEGIN SSH2 PUBLIC KEY —-
Comment: “rsa-key-20170419”
AAAAB3NzaC1yc2EAAAABJQAAAQEAqjqW4kZNcsLREwKrPRKUQpMPHsVr1OZs+cHN
5tCPiXVq3FRvEFXUs6hgyf6Tkvdt6qb3b/zHQ49339/o7itD286D/MiiKrpy3bN0
E7INGpPTwczC8mFD/bxSxFO4QVpb4kLiSo5Xh3U+dYkE/mHfMgcC0TXZYU+rbkK/
dzemGyEgs8MJeWttovxs6++3xxotY0Ed06ClwCkHiTcq1C6zs7215JIJ/tuVPmE4
yA48N9Rws/LT7/y5T0Dz2mFe9sjyMo2/mN2oodkrgnM1SKB5jZxr88MHtPnFA4PD
3rp+QT+mjpBaMBOdDZwn6Rvm6oDp0WCoB3nYlT1sKJRTHozpXw==
—- END SSH2 PUBLIC KEY —-
After my stripping action it looked as follows:
AAAAB3NzaC1yc2EAAAABJQAAAQEAqjqW4kZNcsLREwKrPRKUQpMPHsVr1OZs+cHN5tCPiXVq3FRvEFXUs6hgyf6Tkvdt6qb3b/zHQ49339/o7itD286D/MiiKrpy3bN0E7INGpPTwczC8mFD/bxSxFO4QVpb4kLiSo5Xh3U+dYkE/mHfMgcC0TXZYU+rbkK/dzemGyEgs8MJeWttovxs6++3xxotY0Ed06ClwCkHiTcq1C6zs7215JIJ/tuVPmE4yA48N9Rws/LT7/y5T0Dz2mFe9sjyMo2/mN2oodkrgnM1SKB5jZxr88MHtPnFA4PD3rp+QT+mjpBaMBOdDZwn6Rvm6oDp0WCoB3nYlT1sKJRTHozpXw==
Does anybody has a clue to fix this?
Kind regards,
Micha