Differences
This shows you the differences between the selected revisions of the page.
| ui_login_scp 2023-02-09 | ui_login_scp 2026-07-31 (current) | ||
| Line 9: | Line 9: | ||
| ===== [[shell]] Shell ===== | ===== [[shell]] Shell ===== | ||
| - | Use the //Shell// option to specify what shell WinSCP will use. The ''bash'' shell is recommended for working with WinSCP. If your default shell does not work with WinSCP, you can specify another shell. Typing the full path (e.g. ''/bin/bash'' or ''/usr/local/bin/bash'') is recommended. You can also make use of the option to alter session startup. For example to change the user after login (known as ''su'').((See [[faq_su|FAQ]] for details.)) The command to start shell is interpreted by the SSH server, so the syntax can change with the server.((Typically it is regular shell command interpreted by the default shell of user.)) | + | Use the //Shell// option to specify what shell WinSCP will use. The ''bash'' shell is recommended for working with WinSCP. If your default shell does not work with WinSCP, you can specify another shell. Typing the full path (e.g. ''/bin/bash'' or ''/usr/local/bin/bash'') is recommended. You can also make use of the option to alter session startup. For example to change the user after login (known as ''su'').((See [[faq_su|*]] for details.)) The command to start shell is interpreted by the SSH server, so the syntax can change with the server.((Typically it is regular shell command interpreted by the default shell of user.)) |
| WinSCP needs to know what environment variable contains exit code of the last command. By default it tries to autodetect that. However the autodetection can fail and also slows down login. You may specify the variable directly instead in //Return code variable// box. | WinSCP needs to know what environment variable contains exit code of the last command. By default it tries to autodetect that. However the autodetection can fail and also slows down login. You may specify the variable directly instead in //Return code variable// box. | ||
| Line 27: | Line 27: | ||
| On start-up WinSCP will by default clear all aliases on commands it uses. This is done to avoid unexpected behavior (e.g. alias ''rm'' to ''rm -i''). If there are no aliases influencing command behavior, this feature can be disabled by unticking //Clear aliases//. This setting speeds up the login process. | On start-up WinSCP will by default clear all aliases on commands it uses. This is done to avoid unexpected behavior (e.g. alias ''rm'' to ''rm -i''). If there are no aliases influencing command behavior, this feature can be disabled by unticking //Clear aliases//. This setting speeds up the login process. | ||
| - | WinSCP also clears set of environment variables know to influence the format of directory listing. These are: ''LANG'', ''LANGUAGE'', ''LC_CTYPE'', ''LC_COLLATE'', ''LC_MONETARY'', ''LC_NUMERIC'', ''LC_TIME'', ''LC_MESSAGES'', ''LC_ALL'', ''BLOCK_SIZE'' and ''LS_BLOCK_SIZE'' //(the last two in the latest beta version only)//. &beta If no such variable is set, untick //Clear national variables//. This setting speeds up the login process. | + | WinSCP also clears set of environment variables know to influence the format of directory listing. These are: ''LANG'', ''LANGUAGE'', ''LC_CTYPE'', ''LC_COLLATE'', ''LC_MONETARY'', ''LC_NUMERIC'', ''LC_TIME'', ''LC_MESSAGES'', ''LC_ALL'', ''BLOCK_SIZE'' and ''LS_BLOCK_SIZE''. If no such variable is set, untick //Clear national variables//. This setting speeds up the login process. |
| WinSCP uses ''scp'' command to perform the transfer. On some SSH servers, particularly ssh.com, the ''scp'' may be a link to ''scp2'' command. The ''scp2'' is in fact SFTP server, that WinSCP cannot talk to in SCP mode. Check //Use scp2 with scp1 compat.// to make WinSCP try to force the ''scp'' command to use really the SCP protocol (using ''-1'' option). Note that if the server supports ''scp2'', it probably supports [[sftp|SFTP protocol]] too. | WinSCP uses ''scp'' command to perform the transfer. On some SSH servers, particularly ssh.com, the ''scp'' may be a link to ''scp2'' command. The ''scp2'' is in fact SFTP server, that WinSCP cannot talk to in SCP mode. Check //Use scp2 with scp1 compat.// to make WinSCP try to force the ''scp'' command to use really the SCP protocol (using ''-1'' option). Note that if the server supports ''scp2'', it probably supports [[sftp|SFTP protocol]] too. | ||