|
If you are having a problems with sftp and are getting strange errors, try
the following.
- Look for a .cshrc.local file in your home directory (this
error might apply to .local files for other shells as well).
- Look in the file for any aliases (especially if they alias
ls to something else). Also look for code that looks similar
to what is below:
switch ($HOST)
case cascade:
echo "On
Cascade"
breaksw
case delta:
echo "On
Delta"
breaksw
case brooks:
...
...
...
endsw
- Put all of the aliases and any statements that echo or print out
information in the .login.local file.
- Basically, when sftp connects, it seems to run .cshrc.local, and in
general, it does not like aliases (at least for ls) or statements that
echo out information.
|