Re: scp, no ssh

2002-01-10 Thread Bennet Uk
Hi, Found something which looks like it might do the trick: http://www.sublimation.org/scponly/ Haven't tried it myself, though... Regards, Bennet On Thu, 2002-01-10 at 05:51, Jeff Norman wrote: > > Now, the trick is to replace bob's shell with a (perl?) script that > takes -c argument passed

Re: scp, no ssh

2002-01-10 Thread Bennet Uk
Hi, Found something which looks like it might do the trick: http://www.sublimation.org/scponly/ Haven't tried it myself, though... Regards, Bennet On Thu, 2002-01-10 at 05:51, Jeff Norman wrote: > > Now, the trick is to replace bob's shell with a (perl?) script that > takes -c argument passe

Re: scp, no ssh

2002-01-09 Thread Jeff Norman
On Wed, 2002-01-09 at 21:23, Joel Michael wrote: > On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote: > > how about setting the user's shell to /bin/true. this allows ftp, but no > > login shell. so it may work for scp as well. > > > This is true, but you can still (probably) use ssh to execute co

Re: scp, no ssh

2002-01-09 Thread Jeff Norman
On Wed, 2002-01-09 at 21:23, Joel Michael wrote: > On Thu, 2002-01-10 at 12:19, Tim Quinlan wrote: > > how about setting the user's shell to /bin/true. this allows ftp, but no > > login shell. so it may work for scp as well. > > > This is true, but you can still (probably) use ssh to execute c

Re: scp, no ssh

2002-01-09 Thread Michael Blickenstorfer
On Wed, Jan 09, 2002 at 02:38:30PM +0100, martin f krafft wrote: > also sprach Robert Janusz <[EMAIL PROTECTED]> [2002.01.09.0949 +0100]: > > How to allow, for some users' IPs, only scp and no ssh? > > i don't think you can, since scp actually uses ssh as its backend... You're right. This is not

Re: scp, no ssh

2002-01-09 Thread martin f krafft
also sprach Robert Janusz <[EMAIL PROTECTED]> [2002.01.09.0949 +0100]: > How to allow, for some users' IPs, only scp and no ssh? you *could* disable their passwords, give them DSA identities, and use the authorized_keys file to specify that this identity may only run the scp command... -- martin

Re: scp, no ssh

2002-01-09 Thread martin f krafft
also sprach Robert Janusz <[EMAIL PROTECTED]> [2002.01.09.0949 +0100]: > How to allow, for some users' IPs, only scp and no ssh? i don't think you can, since scp actually uses ssh as its backend... -- martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr "

Re: scp, no ssh

2002-01-09 Thread Michael Blickenstorfer
On Wed, Jan 09, 2002 at 02:38:30PM +0100, martin f krafft wrote: > also sprach Robert Janusz <[EMAIL PROTECTED]> [2002.01.09.0949 +0100]: > > How to allow, for some users' IPs, only scp and no ssh? > > i don't think you can, since scp actually uses ssh as its backend... You're right. This is not

Re: scp, no ssh

2002-01-09 Thread martin f krafft
also sprach Robert Janusz <[EMAIL PROTECTED]> [2002.01.09.0949 +0100]: > How to allow, for some users' IPs, only scp and no ssh? you *could* disable their passwords, give them DSA identities, and use the authorized_keys file to specify that this identity may only run the scp command... -- marti

Re: scp, no ssh

2002-01-09 Thread martin f krafft
also sprach Robert Janusz <[EMAIL PROTECTED]> [2002.01.09.0949 +0100]: > How to allow, for some users' IPs, only scp and no ssh? i don't think you can, since scp actually uses ssh as its backend... -- martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr