Differences

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

2014-04-25 2014-06-13
formatting see also (martin) ssh#verifying_the_host_key moved to ssh_verifying_the_host_key (martin)
Line 3: Line 3:
Possible consequences are: Possible consequences are:
-  * The script fails (or "hangs"), because the [[ssh#verifying_the_host_key|host key]] ([[SFTP]] or [[SCP]]) or [[ftps#certificate|certificate]] (FTPS) is not known by the service's account, and WinSCP fails (or asks for) its verification.+  * The script fails (or "hangs"), because the [[ssh_verifying_the_host_key|host key]] ([[SFTP]] or [[SCP]]) or [[ftps#certificate|certificate]] (FTPS) is not known by the service's account, and WinSCP fails (or asks for) its verification.
  * The connection fails, because your script depends on [[session_configuration#site|site]], which is not known by the service's account.   * The connection fails, because your script depends on [[session_configuration#site|site]], which is not known by the service's account.
  * Environment variables referenced in script are not resolved, because they are not set by the service's account.   * Environment variables referenced in script are not resolved, because they are not set by the service's account.
Line 27: Line 27:
Solutions: Solutions:
-  * [[scripting#hostkey|Specify fingerprint of expected host key or certificate]] explicitly in the script. ((Alternatively make sure the [[ssh#verifying_the_host_key|host key]] or [[ftps#certificate|certificate]] is verified under the service's account.))+  * [[scripting#hostkey|Specify fingerprint of expected host key or certificate]] explicitly in the script. ((Alternatively make sure the [[ssh_verifying_the_host_key|host key]] or [[ftps#certificate|certificate]] is verified under the service's account.))
  * Configure your session completely using ''[[scriptcommand_open|open]]'' command, using [[session_url|session URL]] (and [[rawsettings|raw session settings]], if needed), instead of storing [[session_configuration#site|site]].   * Configure your session completely using ''[[scriptcommand_open|open]]'' command, using [[session_url|session URL]] (and [[rawsettings|raw session settings]], if needed), instead of storing [[session_configuration#site|site]].
    * Alternatively use [[config|INI file]] instead of registry to store the configuration to make sure the [[session_configuration#site|site]] (and/or other settings) can be accessed by all accounts. ((You can also [[config#transfer|transfer the site]] (and/or other settings) to the service's account instead.))     * Alternatively use [[config|INI file]] instead of registry to store the configuration to make sure the [[session_configuration#site|site]] (and/or other settings) can be accessed by all accounts. ((You can also [[config#transfer|transfer the site]] (and/or other settings) to the service's account instead.))

Last modified: by martin