Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 12:34:05 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        John Straiton <jsmailing@clickcom.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FW: SCP problems - SOLVED [kinda- see below]
Message-ID:  <3ECCFBFD.2030607@mac.com>
In-Reply-To: <002601c3206c$4cf11290$1916c60a@win2k.clickcom.com>
References:  <002601c3206c$4cf11290$1916c60a@win2k.clickcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Straiton wrote:
[ ... ]
> I found an article in comp.unix.questions talking about how the .cshrc
> file might have enviroment preferences before it's interactive shell
> checks which would cause the mtime error. Come to find that I had
> disabled the shell for the HOST2 as I didn't need that functionality.
> With the shell disabled, I would get that error message. With it set, I
> can scp just fine.

scp works by running ssh underneath, and ssh will either try to run the 
users' shell or invoke the command being passed to it.

> Would the appropriate setup then be to just have the .cshrc exit as
> early as possible that will still allow this to work or what? I really
> don't want to worry about people having another avenue into the machine
> if possible.

What are you trying to accomplish?  You want to let users authenticate 
and be able to copy files, but not have an interactive shell on that 
machine?

-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECCFBFD.2030607>