Differences
This shows you the differences between the selected revisions of the page.
2011-11-10 | 2011-12-14 | ||
created (martin) | no summary (martin) | ||
Line 2: | Line 2: | ||
Establishes new connection. | Establishes new connection. | ||
- | open <stored_session> | ||
open <session_url> | open <session_url> | ||
+ | open <stored_session> | ||
+ | |||
+ | Establishes connection to given host. Use [[session_url|session URL]] or name of the [[session_configuration#stored|stored session]] (to open session, stored in folder, use path syntax “folder/session”). Using session URL is preferred as it makes your script independent on the persisted configuration. | ||
- | Establishes connection to given host. Use name of the [[session_configuration#stored|stored session]] (to open session, stored in folder, use path syntax “folder/session”) or [[session_url|session URL]]. | + | Note that to allow the session be opened automatically without interaction, you need to make sure you provide all details, including all credentials. Generally, you need to provide a password in your [[session_url|session URL]] or [[session_configuration#stored|stored session]]. With [[ssh|SSH]] you may also use passphrase-less private key or use [[ui_pageant|Pageant]]. With SSH and [[ftps|FTPS]] you need [[scripting#hostkey|verify the host or certificate]]. |
Switches: | Switches: |