Page 1 of 1

sftp/scp keyfile location on client

Posted: Tue Apr 05, 2011 9:28 pm
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.

Re: sftp/scp keyfile location on client

Posted: Tue Apr 12, 2011 5:47 pm
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

Re: sftp/scp keyfile location on client

Posted: Sat Apr 16, 2011 8:19 am
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?