Re: How to disable SCP ?
From: Paul Hink (email_at_p-hink.de)
Date: 11/07/05
- Next message: Richard E. Silverman: "Re: How to disable SCP ?"
- Previous message: sgprasad_at_dacafe.com: "Re: Problem with ssh-agent and ssh-add"
- In reply to: rong: "How to disable SCP ?"
- Next in thread: Richard E. Silverman: "Re: How to disable SCP ?"
- Reply: Richard E. Silverman: "Re: How to disable SCP ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 7 Nov 2005 13:22:56 GMT
rong <rong@citiz.net> wrote:
> I can disable sftp by modified the /etc/ssh/sshd_config
> but,how to disable scp?
As long as the remote users can execute arbitrary commands on the
server it makes no sense to try to disable scp. Its functionality can
easily be substituted by standard userspace utilities. And as soon as
you restrict the commands that can be executed by a user (e.g. by using
the "command" option in an an authorized_keys file) the respective user
cannot use scp any more as well unless it is allowed explicitly.
Paul
- Next message: Richard E. Silverman: "Re: How to disable SCP ?"
- Previous message: sgprasad_at_dacafe.com: "Re: Problem with ssh-agent and ssh-add"
- In reply to: rong: "How to disable SCP ?"
- Next in thread: Richard E. Silverman: "Re: How to disable SCP ?"
- Reply: Richard E. Silverman: "Re: How to disable SCP ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]