Re: blocking ssh shell but allowing sftp

From: Bev A. Kupf (bevakupf_at_myhome.net)
Date: 02/11/04


Date: Wed, 11 Feb 2004 15:26:18 GMT

On 11 Feb 2004 06:35:11 -0800,
    Rob Baxter (rbaxter@cyence.com) wrote:
> Hi,
>
> I'd like to be able to create a user that is allowed to login and
> upload files over ssh but is NOT allowed to login over ssh into a unix
> shell - is that possible?

Yes. Just set the shell to be a dummy shell. In fact sshd from
ssh.com comes with "ssh-dummy-shell" for such a purpose.

-- 
Bev A. Kupf
"The lyfe so short, the craft so long to lerne" -- Chaucer
Tintin turns 75 <http://www.tintin.com>


Relevant Pages

  • RE: SSH Tunneling without console login
    ... > that the command will also login onto PC2. ... > not give a shell prompt, ... I only need SSH ... > tunneling purposes, i login to the remote server ...
    (SSH)
  • Re: Initialization script and ssh
    ... preventing to reset $PATH while you login via ssh. ... it should be easier/faster then recompiling ssh. ... instead of a login shell. ...
    (comp.os.linux.networking)
  • Re: SSH Problem on Solaris 9
    ... I have a fresh install of Solaris9 and have enabled the root user to login ... My problem is if I change the root user's shell from sh to bash, ... I'm denied login using ssh unless I change it back to sh. ...
    (comp.unix.solaris)
  • Re: non-login sftp user?
    ... but cannot use ssh to login to a shell (as well as keep them locked ... are some source hacks you can do but from the hacks I've read, ...
    (RedHat)
  • blocking ssh shell but allowing sftp
    ... upload files over ssh but is NOT allowed to login over ssh into a unix ... Rob ...
    (comp.security.ssh)