I’m trying to open a connection to a secure FTP server using a RSA key pair.
Adobe cf code would be
<cfset settings = {
server= "remote-connection.com" ,
user= "orangexception" ,
passphrase= "theRefreshingException"
secure= 1 ,
directory= "/" ,
connection= "SFTPWithRSAKey" ,
key= "e:/xact/path/to/PrivateOpenSSHKey" } />
<cfftp action= "open"
connection= "#settings.connection#"
server= "#settings.server#"
username= "#settings.user#"
key= "#settings.key#"
password= "#settings.passphrase#"
secure= "#settings.secure#"
stopOnError= "yes"
retryCount= 1 />
But Lucee does not allow the key=
option for cfftp. Instead it has the fingerprint=
option.
I tried to open the connection with just the fingerprint, but failed. Is SSH with public/privat Keys supposed to work with Lucee or is it still not supported?