RE: SFTP without SSH session access

From: Shapiro, David (david.shapiro_at_bti.com)
Date: 06/05/03

  • Next message: Oscar Knight: "Re: SFTP without SSH session access"
    To: 'Les Bell' <lesbell@lesbell.com.au>, Andrey Kozhukhovskiy <ak@cdi.ucla.edu>
    Date: Thu, 5 Jun 2003 08:05:42 -0400 
    
    

    Check out rssh. It works with openssh. It does exactly what you want.

    David

    -----Original Message-----
    From: Les Bell [mailto:lesbell@lesbell.com.au]
    Sent: Wednesday, June 04, 2003 10:36 PM
    To: Andrey Kozhukhovskiy
    Cc: SSH mail list
    Subject: Re: SFTP without SSH session access

    "Andrey Kozhukhovskiy" <ak@cdi.ucla.edu> wrote:

    >>
    The question is, if it is possible to allow users to transfer files over
    SFTP, while restricting SSH sessions from outside?
    <<

    I haven't tried this myself, but the obvious idea that comes to mind would
    be setting the users' default shell to /bin/false or /sbin/nologin. That's
    the traditional way of limiting users to FTP access with command shell, and
    I can't see why it wouldn't work for ssh/sftp as well.

    Best,

    --- Les Bell, RHCE, CISSP
    [http://www.lesbell.com.au]


  • Next message: Oscar Knight: "Re: SFTP without SSH session access"

    Relevant Pages

    • Re: SFTP without SSH session access
      ... SFTP without SSH session access ... > over SSH to create a command session. ... And I still want to allow them SFTP ...
      (SSH)
    • Re: SFTP without SSH session access
      ... The response was great. ... responses, search for "anonymous sftp". ... SFTP without SSH session access ... suppose I have SSH and SFTP access to my system. ...
      (SSH)
    • sftp w/o ssh
      ... I want to give users possibility to SFTP files to a host from ... outside local network, but I don't want them to establish SSH session to ... provided they both (SSH and SFTP) ...
      (comp.unix.solaris)