Differences
This shows you the differences between the selected revisions of the page.
2023-10-06 | 2023-10-06 | ||
6.2: Passing password to PuTTY using named pipe instead of commandline (martin) | more focus on the more secure -pwfile (martin) | ||
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 [[&url(puttydoc)/Chapter3.html#using-cmdline-pw|''-pw <password>'']] is automatically added to the command. If the executable name is ''putty.exe'' and its version is 0.77 or higher, [[https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html#using-cmdline-pw|''-pwfile'' switch]] with a named pipe path is used instead as a more secure alternative. &beta_feature. | + | 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]]. &beta_feature Otherwise insecure [[&url(puttydoc)/Chapter3.html#using-cmdline-pw|''-pw <password>'']] parameter is used. |
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.)) |