Differences
This shows you the differences between the selected revisions of the page.
2013-05-15 | 2013-07-18 | ||
Renaming Login/Preferences "tabs" to "pages" (martin) | 5.2.2: Bug 1006: Configurable registry key for exporting sessions to PuTTY(-like) clients. (martin) | ||
Line 1: | Line 1: | ||
====== Applications Integration Page (Preferences Dialog) ====== | ====== Applications Integration Page (Preferences Dialog) ====== | ||
- | The //Applications Integration page// on the [[ui_preferences|Preferences dialog]] allows user to configure how WinSCP integrates with other applications, particularly with [[integration_app#opening_current_session_in_putty|PuTTY]]. | + | The //Applications Integration page// on the [[ui_preferences|Preferences dialog]] allows user to configure how WinSCP integrates with other applications, particularly with [[integration_app#opening_current_session_in_putty|PuTTY]] or other terminal clients. |
&screenshotpict(pref_integration_app) | &screenshotpict(pref_integration_app) | ||
===== External Applications ===== | ===== External Applications ===== | ||
- | Using //PuTTY path// box you can specify [[local_path|local path]] to PuTTY application that is used in //[[integration_app#opening_current_session_in_putty|Open in PuTTY]]// function. | + | ==== [[client_path]] PuTTY/Terminal Client Path ==== |
+ | Using //PuTTY/Terminal client path// box you can specify [[local_path|local path]] to PuTTY or other terminal client application that is used with //[[integration_app#opening_current_session_in_putty|Open in PuTTY]]// function. | ||
- | Check //Remember session password and pass it to PuTTY// checkbox to make WinSCP [[security_credentials#password_memory|keep session password in memory]] and pass it to PuTTY when using //[[integration_app#open_putty|Open in PuTTY]]// function (using command-line parameter ''-pw''). However better approach would be to use [[public_key|public key authentication]] together with [[ui_pageant|Pageant]]. | + | Optionally, you can use following patterns in the path: |
+ | ^ Pattern ^ Description ^ | ||
+ | | ''!!'' | Is replaced with exclamation mark (''!''). | | ||
+ | | ''!/'' | Current remote path. | | ||
+ | | ''!@'' | Current session hostname. | | ||
+ | | ''!u'' | Current session username. | | ||
+ | | ''!p'' | Current session password (if [[security_credentials|remembered]]). | | ||
+ | | ''!?prompt[\]?default!'' | When used, user is prompted to enter value that replaces the pattern. ''prompt'' can define a message of the prompt and ''default'' a default value, both can be empty. Special characters entered by user are automatically delimited. You can prohibit this using optional backslash (''\'') before second question mark (''?''). | | ||
+ | | ''!`command`'' | Replaced with output of given local console command. | | ||
+ | |||
+ | If pattern ''!@'' is not used, parameter ''-load <site>'' is automatically added to the command. | ||
+ | |||
+ | If pattern ''!p'' is not used, and password is known, parameter ''-pw <password>'' is automatically added to the command. | ||
+ | |||
+ | ==== Other Options ==== | ||
+ | Check //Remember session password and pass it to PuTTY// checkbox to make WinSCP [[security_credentials#password_memory|keep session password in memory]] and pass it to PuTTY when using //[[integration_app#open_putty|Open in PuTTY]]// function (see above for details). However better approach would be to use [[public_key|public key authentication]] together with [[ui_pageant|Pageant]]. | ||
By default WinSCP instructs PuTTY to open Telnet session if you are using [[FTP]]. Uncheck the //Open Telnet sessions in PuTTY for FTP sessions// to use [[SSH]] instead ((However note that if the server supports SSH protocol, it most probably supports [[SFTP]] also. You should always use SFTP, instead of FTP, if possible.)). | By default WinSCP instructs PuTTY to open Telnet session if you are using [[FTP]]. Uncheck the //Open Telnet sessions in PuTTY for FTP sessions// to use [[SSH]] instead ((However note that if the server supports SSH protocol, it most probably supports [[SFTP]] also. You should always use SFTP, instead of FTP, if possible.)). | ||
Check //Automatically open new sessions in PuTTY// to automatically send all sessions opened in WinSCP also to PuTTY. | Check //Automatically open new sessions in PuTTY// to automatically send all sessions opened in WinSCP also to PuTTY. | ||
+ | |||
+ | Use //PuTTY registry key// selection lets you choose registry key, where WinSCP exports its session settings, to be used by terminal client. WinSCP exports settings in PuTTY format, which is also used by many of its clones. If your terminal client does not support this format, you need to use respective patterns (i.e. ''!@'' and ''!u'') in [[client_path#ui_pref_integration_app|terminal client path]] box as an alternative way to pass the settings. | ||
===== Further Reading ===== | ===== Further Reading ===== | ||
Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]]. | Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]]. |