Re: ftpusers file or similar for openssh

From: Richard E. Silverman (res_at_qoxp.net)
Date: 08/17/05

  • Next message: Stein Arne Storslett: "Re: Have Script Deal with SSH/SCP password Prompt"
    Date: 16 Aug 2005 19:44:27 -0400
    
    

    >>>>> "MM" == Markus Moeller <huaraz@moeller.plus.com> writes:

        MM> I am wondering if anybody else came across the need to have only
        MM> Openssh console access, but no sftp/scp access ? I have a case
        MM> where some users are controled by a login shell (giving them only
        MM> a menu) and they shouldn't be able to copy files with sftp/scp. I
        MM> think scp might be controllable by an .ssh/rc file but sftp not.

    If the shell does not allow running scp or sftp-server (even indirectly),
    than that prevents file transfer via an exec channel. If you also turn
    off the sftp subsystem, then you should be set.

    -- 
      Richard Silverman
      res@qoxp.net
    

  • Next message: Stein Arne Storslett: "Re: Have Script Deal with SSH/SCP password Prompt"