Differences

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

2006-04-10 2006-04-10
grammar hats (71.33.63.161) violating command should be moved to script of interactive sessions (martin)
Line 15: Line 15:
The number ??? represents the first four bytes read from the server. If your login scripts are printing words, this will be the first four characters cast into a number, and not an SFTP message at all. The number ??? represents the first four bytes read from the server. If your login scripts are printing words, this will be the first four characters cast into a number, and not an SFTP message at all.
-To fix the problem find out what command in your login script prints text. Once you find it move the command to the proper non-interactive script, or remove it entirely. The scripts are usually hidden (their name starts with dot) and are located in your home directory on the server.+To fix the problem find out what command in your login script prints text. Once you find it move the command to the proper interactive script, or remove it entirely. The scripts are usually hidden (their name starts with dot) and are located in your home directory on the server.
There are other possible sources of the message in addition to the profile script - some SSH servers print messages if they are unable to start the SFTP server, or encounter a fatal error. You should contact your server administrator. There are other possible sources of the message in addition to the profile script - some SSH servers print messages if they are unable to start the SFTP server, or encounter a fatal error. You should contact your server administrator.

Last modified: by martin