Skip to main content

You may be using a Web browser that does not support standards for accessibility and user interaction. Find out why you should upgrade your browser for a better experience of this and other standards-based sites...

Dartmouth Home  Search  Index

Dartmouth Home | Search | Index

Dartmouth home page
Computing at Dartmouth
Computing > Support >  Library >  Research > Connectivity > Introduction >

Problems With SFTP

If you are having a problems with sftp and are getting strange errors, try the following.

  1. Look for a .cshrc.local file in your home directory (this error might apply to .local files for other shells as well).
  2. 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
  3. Put all of the aliases and any statements that echo or print out information in the .login.local file.
  4. 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.

Last Updated: 11/1/06