 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
liangzhu
Joined: 30 Nov 2011 Posts: 42 Country: Singapore |
|
can i specify private key for sftp file transfer? |
|
i'm using JAL(win2008r2 24x7mp 5.1.403?) and it looks like the docs are for ftp commands with option to use ftpconfig to change the connection to sftp, but the ftp commands all seem to use user, pass and the sftp file transfers that we want to do are using key authentication not password..just asking before i stupidly try it out...how do i specify a private key? can i swap the 'pass' for the path to the key file or something?
|
|
Mon Dec 09, 2013 9:58 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
If you cannot do it with JAL. JAL implementation of SSH/SFTP is based on version 1 of the protocol which doesn't support key based authentication.
However, you can use JavaScript which supports key based authentication. Your private key should go to [24x7 home] -> JRE -> lib -> security -> cacert. Nope that user and password might be still required on top of that. If they are not, leave them blank (as empty strings)
|
|
Mon Dec 09, 2013 11:53 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|