Differences
This shows you the differences between the selected revisions of the page.
2011-08-11 | 2011-08-18 | ||
rv. this is not putty support site (martin) | cannot_initialize_sftp_protocol and some improvements (martin) | ||
Line 113: | Line 113: | ||
* Some shells do not work with non-interactive sessions. The same it true for some configurations (or profiles used) for otherwise working shells. This commonly exhibits with [[scp|SCP protocol]] with associated error message [[message_startup_message|"Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)."]] Try to force ''bash'' shell explicitly on [[ui_login_scp|SCP/Shell tab]] of Login dialog. Using [[sftp|SFTP protocol]] instead of SCP is another option. | * Some shells do not work with non-interactive sessions. The same it true for some configurations (or profiles used) for otherwise working shells. This commonly exhibits with [[scp|SCP protocol]] with associated error message [[message_startup_message|"Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)."]] Try to force ''bash'' shell explicitly on [[ui_login_scp|SCP/Shell tab]] of Login dialog. Using [[sftp|SFTP protocol]] instead of SCP is another option. | ||
* OpenSSH server may fail to start shell when chroot is configured, but not possible (e.g. due to permissions). | * OpenSSH server may fail to start shell when chroot is configured, but not possible (e.g. due to permissions). | ||
- | ··* SFTP server. Your account may not be able to start SFTP server binary (e.g. ''/bin/sftp-server'') or the binary is not present on your server. Your SSH server may also lack the SFTP subsystem. | + | * Some environments require specific permissions (e.g. 755) to files like ''.profile'' or ''.bashrc''. |
+ | ··* SFTP server. | ||
+ | * Your account may not be able to start SFTP server binary (e.g. ''/bin/sftp-server'') or the binary is not present on your server. | ||
+ | * Your SSH server may also lack the SFTP subsystem. | ||
==== In a Middle of Session ==== | ==== In a Middle of Session ==== | ||
Line 159: | Line 162: | ||
* To create or delete file you need have a write permissions to the directory; | * To create or delete file you need have a write permissions to the directory; | ||
* To change file or directory permissions you need to be its owner; | * To change file or directory permissions you need to be its owner; | ||
- | * To change file modification time you need to its owner. | + | * To change file modification time you need to be its owner (note that by default WinSCP [[ui_transfer#common_options|updates file modification time]] when uploading). |
===== [[too_many_authentication_failures]] Server sent disconnect message type 2 (protocol error): "Too many authentication failures for root" ===== | ===== [[too_many_authentication_failures]] Server sent disconnect message type 2 (protocol error): "Too many authentication failures for root" ===== | ||
Line 237: | Line 240: | ||
See example of [[guide_dotnet|.Net]] or [[guide_automation_advanced#inout|WSH]] code dealing with the problem. | See example of [[guide_dotnet|.Net]] or [[guide_automation_advanced#inout|WSH]] code dealing with the problem. | ||
- | ===== [[error_listing_directory]] Error listing directory ===== | + | ===== [[cannot_initialize_sftp_protocol]] Cannot initialize SFTP protocol. Is the host running a SFTP server? ===== |
- | This is high-level error, and it is typically associated with another error, such as: | + | Many reasons and hints for [[message_unexpected_close|"Server unexpectedly closed network connection"]] apply to this error too. |
- | * [[message_timeout_detected|Timeout detected]]; | + | |
- | * [[message_unexpected_directory_listing|Unexpected directory listing line '...']]. | + | |
===== [[invalid_access_to_memory]] Invalid access to memory ===== | ===== [[invalid_access_to_memory]] Invalid access to memory ===== | ||
Line 249: | Line 250: | ||
SSH code of WinSCP is based on PuTTY. So if you are getting some error message while using [[protocol|SFTP or SCP protocols]] (particularly while connecting), you may check also the [[&url(puttydoc)/Chapter10.html|common error messages]] in PuTTY documentation. | SSH code of WinSCP is based on PuTTY. So if you are getting some error message while using [[protocol|SFTP or SCP protocols]] (particularly while connecting), you may check also the [[&url(puttydoc)/Chapter10.html|common error messages]] in PuTTY documentation. | ||
</nosplit> | </nosplit> | ||
+ |