Differences

This shows you the differences between the selected revisions of the page.

2015-02-18 2016-01-19
releasing 5.7 stable, removing &beta tags (or replacing with &recent) (martin) direct switch or property anchored links (martin)
Line 6: Line 6:
===== Automating Private Key Authentication ===== ===== Automating Private Key Authentication =====
-You can specify the passphrase using ''-passphrase'' switch of ''[[scriptcommand_open|open]]'' command in scripting and using ''[[library_sessionoptions|SessionOptions.SshPrivateKeyPassphrase]]'' in .NET assembly.+You can specify the passphrase using ''[[scriptcommand_open#passphrase|-passphrase]]'' switch of ''[[scriptcommand_open|open]]'' command in scripting and using ''[[library_sessionoptions#sshprivatekeypassphrase|SessionOptions.SshPrivateKeyPassphrase]]'' in .NET assembly.
Alternatively you can store the key unprotected (without an passphrase). Note that this imposes security risk, if someone gains access to the key. You should consider restricting access to the unprotected private key file to the local account that runs the script only (using [[http://technet.microsoft.com/en-us/library/cc770962.aspx|Windows file system permissions]]). Alternatively you can store the key unprotected (without an passphrase). Note that this imposes security risk, if someone gains access to the key. You should consider restricting access to the unprotected private key file to the local account that runs the script only (using [[http://technet.microsoft.com/en-us/library/cc770962.aspx|Windows file system permissions]]).

Last modified: by martin