sftp/scp keyfile location on client

All others add-ons (Secure FTP, SCP, Flickr, scripts ...).
Post Reply
michaelkre
Posts: 1
Joined: Tue Apr 05, 2011 9:22 pm

sftp/scp keyfile location on client

Post by michaelkre »

Is there a way to use an OS environment variable where the user can put the ssh public key? For example. I will have our users download a dsa generated public key. I would like them to put the key in there home directory and then let the sftp_upload.js file point to it without having system dependent paths such as file:///c:/foo/bar/mypub.key I would like them to always point to file:///%HOME%/keys/mypub.key.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: sftp/scp keyfile location on client

Post by support »

Currently you can only pass a full path to key file:
<PARAM NAME="param5" VALUE="keyfile">
<PARAM NAME="value5" VALUE="file:///c:/secure/privatekey_rsa.txt">

For ENV variable, It would need a small customization to SFTP/SCP add-on. If you're willing to pay for it then contact support(at)jfileupload(dot)com

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: sftp/scp keyfile location on client

Post by support »

I've tried to answer you by email but I got a DNS error on your domain name. Do you have another email?

Post Reply