Re: allow psftp or pscp but not ssh
From: Stein Arne Storslett (sastorsl_at_THOU.SHALT.NOT.SPAM.broadpark.no)
Date: 05/11/05
- Previous message: Ciccio: "Re: Upgrading OpenSSL from 0.9.7f to 0.9.7g breaks OpenSSH 4.0p1"
- In reply to: Yannick CHAMPS: "allow psftp or pscp but not ssh"
- Next in thread: Yannick CHAMPS: "Re: allow psftp or pscp but not ssh"
- Reply: Yannick CHAMPS: "Re: allow psftp or pscp but not ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 11 May 2005 09:23:34 GMT
<yannick@pfnet.pf> wrote in <638398f4.0505091250.5390909f@posting.google.com>:
> Hi,
>
> I use redhat AS3 with the default sshd configuration and putty as
> windows ssh client. Is it possible to allow only file transfert via
> psftp or pscp and deny access to ssh. I don't want users to login via
> ssh into the server, only file transfert is permitted. I read the
> /etc/ssh/sshd_config but found nothing to help me.
Take a look at RSSH - http://www.pizzashack.org/rssh/index.shtml
There should be a package for RedHat for that. There you can control
wether a user can scp, sftp, rsync, etc.
You can also take a look at scponly and sftponly.
You might also want to look into chroot'ing the user, but that's a whole
new chapter.
-- Stein Arne
- Previous message: Ciccio: "Re: Upgrading OpenSSL from 0.9.7f to 0.9.7g breaks OpenSSH 4.0p1"
- In reply to: Yannick CHAMPS: "allow psftp or pscp but not ssh"
- Next in thread: Yannick CHAMPS: "Re: allow psftp or pscp but not ssh"
- Reply: Yannick CHAMPS: "Re: allow psftp or pscp but not ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|