Re: How to disable SCP ?

From: Edward Leiper (someone_at_example.com)
Date: 11/07/05

  • Next message: A1: "Re: openssh: authenticate with BOTH password AND rsa key"
    Date: Mon, 07 Nov 2005 09:07:06 +0000
    
    

    If I recall correctly, scp works by connecting to the other machine by
    ssh and then invoking the copy of scp on the other side. If you
    change the permissions of scp so that the appropriate user (sshd or
    the logging in user, I can't remember) cannot execute it on the server
    side, then clients shouldn't be able to scp. This has the side effect
    of stopping server-side users from using scp too, which is probably
    what you want.

    ~Ed


  • Next message: A1: "Re: openssh: authenticate with BOTH password AND rsa key"

    Relevant Pages

    • Re: Is SSH worth it??
      ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
      (Security-Basics)
    • RE: SCP and MVS data sets?
      ... SCP and MVS data sets? ... Is it possible that the open function is different in SCP? ... You can also do the following weirdness to use ssh to copy a z/OS legacy ...
      (bit.listserv.ibm-main)
    • Re: linux to linux scp in batch mode: how?
      ... reason why it works now is because of the dsa key. ... > been configured automatically when I set up ssh, I would imagine that I am ... >> I have ssh and scp up and running on my two Redhat 7.2 Linux machines, ... >> between the machines. ...
      (comp.security.ssh)
    • Re: linux to linux scp in batch mode: how?
      ... And now I can log on via ssh or scp without being prompted for the password. ... I am not specifically using ssh-agent, ... > between the machines. ...
      (comp.security.ssh)
    • RES: Is SSH worth it??
      ... attacker would have root access to another machines in your network. ... When I needed automated scripting using ssh and scp I used this programming ... SCP for automated scripts. ...
      (Security-Basics)