Differences

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

2004-12-19 2004-12-20
command typo, changed la to ls (24.113.85.185) no summary (martin)
Line 15: Line 15:
To transfer files, scp1 is used (it is called from within scp). If only scp2 is allowed on your server, check the "Use scp2 with scp1 compatibility" option on the "SCP" tab in the login dialog. To transfer files, scp1 is used (it is called from within scp). If only scp2 is allowed on your server, check the "Use scp2 with scp1 compatibility" option on the "SCP" tab in the login dialog.
-For correct functionality, it is necessary to satisfy a few conditions. The BASH shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell on the "SCP" tab in the Login dialog. Typing the full path (e.g. "/bin/bash";) is recommended.+For correct functionality, it is necessary to satisfy a few conditions. The BASH shell is recommended for working with WinSCP. If your default shell doesn't work with WinSCP, you can specify another shell on the "SCP" tab in the Login dialog. Typing the full path (e.g. ''/bin/bash'') is recommended.
&screenshot(shell) &screenshot(shell)
Line 21: Line 21:
For its operation, WinSCP needs several commands: alias, cd, chgrp, chmod, chown, echo, groups, ls, mkdir, mv, pwd, scp, rm, ln, unalias and unset. These commands have to be placed in the path and user must have sufficient permissions to execute them. WinSCP expects "standard" behaviour of these commands. You can avoid needing these commands by not using some of WinSCP functions (mkdir, chown, ln, etc.) or by changing some configuration options (alias, groups, unalias and unset). For its operation, WinSCP needs several commands: alias, cd, chgrp, chmod, chown, echo, groups, ls, mkdir, mv, pwd, scp, rm, ln, unalias and unset. These commands have to be placed in the path and user must have sufficient permissions to execute them. WinSCP expects "standard" behaviour of these commands. You can avoid needing these commands by not using some of WinSCP functions (mkdir, chown, ln, etc.) or by changing some configuration options (alias, groups, unalias and unset).
-Just after estabilishing the connection with server, all aliases on the above commands are cleared. This is done to avoid unexpected behaviour (e.g. alias "rm" to "rm -i";). If there are no aliases influencing command behaviour, this feature can be disabled on the "SCP" tab in the Login dialog. This setting speeds up the login process.+Just after estabilishing the connection with server, all aliases on the above commands are cleared. This is done to avoid unexpected behaviour (e.g. alias ''rm'' to ''rm -i''). If there are no aliases influencing command behaviour, this feature can be disabled on the "SCP" tab in the Login dialog. This setting speeds up the login process.
-Another precondition is that the output of all commands is in English. This mostly concerns names of months in directory listings ("ls -la";). Because of this, WinSCP clears all user variables that govern command output after login. These variables are: LANG, LANGUAGE, LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, LC_TIME, LC_MESSAGES and LC_ALL. If no such variable is set, is is possible to turn off this feature in the session settings. If command output also reflects some other server settings, it may be necessary to change this before WinSCP can be used.+Another precondition is that the output of all commands is in English. This mostly concerns names of months in directory listings (''ls -la''). Because of this, WinSCP clears all user variables that govern command output after login. These variables are: LANG, LANGUAGE, LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, LC_TIME, LC_MESSAGES and LC_ALL. If no such variable is set, is is possible to turn off this feature in the session settings. If command output also reflects some other server settings, it may be necessary to change this before WinSCP can be used.
-The last necessary condition is the proper output of ls -la command, which is supposed to include file group name! If the group name is absent, it can be temporarily added using the relevant option on the "SCP" tab in the Login dialog. The option causes the execution of the command "alias ls="ls -g"" on startup.+The last necessary condition is the proper output of ''ls -la'' command, which is supposed to include file group name! If the group name is absent, it can be temporarily added using the relevant option on the "SCP" tab in the Login dialog. The option causes the execution of the command ''alias ls="ls -g"'' on startup.
===== Using WinSCP with Restricted Shell Enviroments ===== ===== Using WinSCP with Restricted Shell Enviroments =====

Last modified: by martin