Differences

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

ui_login_scp 2018-11-09 ui_login_scp 2023-05-24 (current)
Line 1: Line 1:
-====== SCP/Shell Page (Advanced Site Settings dialog) ======+====== The SCP/Shell Page (Advanced Site Settings dialog) ======
The //SCP/Shell page// on the [[ui_login_advanced|Advanced Site Settings dialog]] allows user to configure shell specific options. Mostly it helps WinSCP to modify remote environment to match its [[requirements#scp|requirements]]. The options are mainly used when working with [[scp|SCP protocol]]. Even if you are using [[sftp|SFTP protocol]], some of the options are made available for you, in case you are using some feature that require [[shell_session|separate shell session]]. ((When [[ui_login_sftp#protocol_options|fallback]] to [[scp|SCP protocol]] occurs, all options on the page, including the disabled ones, are used. In case you need to modify some of the disabled options, make sure you explicitly select SCP protocol on the [[ui_login|Login dialog]].)) The //SCP/Shell page// on the [[ui_login_advanced|Advanced Site Settings dialog]] allows user to configure shell specific options. Mostly it helps WinSCP to modify remote environment to match its [[requirements#scp|requirements]]. The options are mainly used when working with [[scp|SCP protocol]]. Even if you are using [[sftp|SFTP protocol]], some of the options are made available for you, in case you are using some feature that require [[shell_session|separate shell session]]. ((When [[ui_login_sftp#protocol_options|fallback]] to [[scp|SCP protocol]] occurs, all options on the page, including the disabled ones, are used. In case you need to modify some of the disabled options, make sure you explicitly select SCP protocol on the [[ui_login|Login dialog]].))
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'' and ''LC_ALL''. 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.

Last modified: by martin