Re: SSL support
@ljakobs: Sent.
SSL means “Secure Sockets Layer”. Many protocols — like HTTP, SMTP, FTP, and SSH ‘“ were adjusted to include the support of SSL. Basically, it works as a tier in a certain protocol to provide cryptographic and security functions.
The client certificates are for TLS/SSL (FTPS, WebDAVS), not for SSH/SFTP.
sftp -i <client_key> marty@10.0.0.2
sftp
client expects the following naming convention in order for the client to pick up the certificate and its complementary private key:
<client_key>
(private key)
<client_key>.pub
(public key)
<client_key>-cert.pub
(CA signed public key)
-privatekey
).
.ppk
format.
winscp> open sftp://marty@10.0.0.2 -clientcert=G:\Keystore\client_key-cert.pub -privatekey=G:\Keystore\client_key
Searching for host...
Connecting to host...
Authenticating...
Unable to use key file "G:\Keystore\client_key" (OpenSSH SSH-2 private key)
Using username "marty".
Disconnected: No supported authentication methods available (server sent: publickey)
Authentication log (see session log for details):
Unable to use key file "G:\Keystore\client_key" (OpenSSH SSH-2 private key)
Using username "marty".
Authentication failed.
-clientcert
and -passphrase
.