Differences

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

ui_pref_integration_app 2023-02-09 ui_pref_integration_app 2024-02-15 (current)
Line 19: Line 19:
| ''!P''  | Current session password (if [[security_credentials|stored or remembered]]). | | ''!P''  | Current session password (if [[security_credentials|stored or remembered]]). |
| ''!#''  | Current session port number. | | ''!#''  | Current session port number. |
-| ''!K''  | Current session private key. &beta_feature |+| ''!K''  | Current session private key. |
| ''!N''  | Current session name. | | ''!N''  | Current session name. |
| ''!?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 (''?''). | | ''!?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 (''?''). |
Line 26: Line 26:
If pattern ''!@'' is not used, parameter ''-load <site>'' is automatically added to the 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.+If pattern ''!P'' is not used, a ==password== is known, and you are using an up-to-date version of PuTTY,((The executable name is ''putty.exe'' and its version is 0.77 or higher.)) the password is passed using named pipe and [[&url(puttydoc)/Chapter3.html#using-cmdline-pw|''-pwfile'' switch]]. Otherwise insecure [[&url(puttydoc)/Chapter3.html#using-cmdline-pw|''-pw <password>'']] parameter is used.((It is passed as the first argument of the executable, before any custom arguments.))
See also [[&url(puttydoc)/Chapter3.html#using-cmdline|PuTTY command-line documentation]]. See also [[&url(puttydoc)/Chapter3.html#using-cmdline|PuTTY command-line documentation]].
==== [[other_options]] Other Options ==== ==== [[other_options]] 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 [[security_credentials#putty_password|in command-line argument]] when using //[[integration_putty#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]]. The option is disabled, when the ''!P'' pattern is used in the [[#client_path|terminal client path]] box, as it implies that the password is remembered.+Check //Remember session password and pass it to PuTTY// checkbox to make WinSCP [[security_credentials#password_memory|keep session password in memory]] and [[#password|pass it to PuTTY]] when using //[[integration_putty#open_putty|Open in PuTTY]]// function. However better approach would be to use [[public_key|public key authentication]] together with [[ui_pageant|Pageant]]. The option is disabled, when the ''!P'' pattern is used in the [[#client_path|terminal client path]] box, as it implies that the password is remembered.
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.))

Last modified: by martin