Re: Disable SFTP/SCP but not SSH?
From: David Redmond (dave_at_allydavesyd.com)
Date: 07/07/04
- Previous message: Darren Tucker: "Re: Disable SFTP/SCP but not SSH?"
- In reply to: Real Cucumber: "Disable SFTP/SCP but not SSH?"
- Next in thread: Lucio Crusca: "Re: Disable SFTP/SCP but not SSH?"
- Reply: Lucio Crusca: "Re: Disable SFTP/SCP but not SSH?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 7 Jul 2004 13:39:12 -0700 To: secureshell@securityfocus.com
Are you trying to disable file transfer by not allowing SFTP and SCP?
If so, it won't work. It is possible to copy files using only ssh. Try
the commands below.
cat LOCALFILE | ssh REMOTEHOST cat \>REMOTEFILE
ssh REMOTEHOST cat REMOTEFILE >LOCALFILE
The files are transfered using only ssh and fancy schmancy redirection.
Dave
~""~
On Jul 7, 2004, at 9:42 AM, Real Cucumber wrote:
> Using Fedora Core 2 and OpenSSH 3.6.1p2, I'm wondering
> if it is possible to allow users to connect via SSH,
> but prevent them from connecting through SFTP and/or
> SCP?
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
- Previous message: Darren Tucker: "Re: Disable SFTP/SCP but not SSH?"
- In reply to: Real Cucumber: "Disable SFTP/SCP but not SSH?"
- Next in thread: Lucio Crusca: "Re: Disable SFTP/SCP but not SSH?"
- Reply: Lucio Crusca: "Re: Disable SFTP/SCP but not SSH?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|