[lug] Scp Config

John Hernandez John.Hernandez at noaa.gov
Thu Jun 28 14:56:46 MDT 2001


One thing that is commonly done is to use the global shell rc script to accomplish some form of discriminatory session termination.  For Bourne and derivatives, I think /etc/profile would be a good place.  Be sure to set trap conditions (in case the user tries to escape the process).

-John

Kyle Moore wrote:
> 
> Sorry for the other post with no subject. Here is the message again. I
> hate Outlook.
> 
> What is the best way to secure scp? I want to allow someone to scp a
> file into their default directory but not be able to ssh in either
> interactively or non-interactively. I have looked at the forced command
> option but also read that doesn't work with scp. I have bought the
> OpenSSH book and looked through it for the solution but haven't had time
> (yet) to read the whole book.
> 
> ---
> Kyle Moore
> UNIX SysAdmin
> Trust Company of America
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

-- 

  - John Hernandez - Network Engineer - 303-497-6392 -
 |  National Oceanic and Atmospheric Administration   |
 |  Mailstop R/OM12. 325 Broadway, Boulder, CO 80305  |
  ----------------------------------------------------



More information about the LUG mailing list