[Debian] COmmande rcp

Résolu
Bonjour

J'aurais besoin d'utiliser la commande rcp. Comment faut-il faire pour pouvoir l'utiliser? Pour l'instant j'ai un magnifique "command not found"...
Merci d'avance pour votre aide (je nage complètement sous linux...)
Configuration: Linux
Debian Sarge 2.6.14

11 réponses

  1. Modérateur
    Salut,

    Il me semble que la commande "rcp" a été remplacé par une autre commande beaucoup plus sécurisée qui est "scp".
    Jette un oeil au "man scp".

    ;-))
    1. Bonjour,

      Tou d'abord merci pour ton aide !
      Je viens de tester, je n'ai pas non plus la commande scp...
      1. Modérateur
        Re-

        Que te renvoie la commande :
        whereis scp
        Sinon essaie de lancer directement :
        /usr/bin/scp ...
        ;-)
        1. Voilà le résultat :

          ~$ whereis scp
          scp:

          sinon je n'ai pas de scp dans /usr/bin
          1. Modérateur
            Regarde si tu as "ssh" d'installer, le cas échéant, installe-le.
            1. Je viens de regarder, j'ai ssh sous /etc/ssh, c'est bizarre que ça marche pas, non ?
              1. Voilà le résultat :

                $ apt-cache show ssh
                Package: ssh
                Priority: extra
                Section: net
                Installed-Size: 1644
                Maintainer: Matthew Vernon <matthew@debian.org>
                Architecture: i386
                Source: openssh
                Version: 1:3.8.1p1-8.sarge.4
                Provides: rsh-client
                Depends: libc6 (>= 2.3.2.ds1-4), libpam0g (>= 0.76), libssl0.9.7, libwrap0, zlib1g (>= 1:1.2.1), debconf (>= 1.2.0), libpam-runtime (>= 0.76-14), libpam-modules (>= 0.72-9), adduser (>= 3.9), dpkg (>= 1.9.0)
                Suggests: ssh-askpass, xbase-clients
                Conflicts: ssh-nonfree (<< 2), ssh-socks, ssh2, sftp, rsh-client (<< 0.16.1-1)
                Filename: pool/main/o/openssh/ssh_3.8.1p1-8.sarge.4_i386.deb
                Size: 688054
                MD5Sum: 5a389ae1f671426f4a1bc15b2ba344df
                Description: Secure rlogin/rsh/rcp replacement (OpenSSH)
                This is the portable version of OpenSSH, a free implementation of
                the Secure Shell protocol as specified by the IETF secsh working
                group.
                .
                Ssh (Secure Shell) is a program for logging into a remote machine
                and for executing commands on a remote machine.
                It provides secure encrypted communications between two untrusted
                hosts over an insecure network. X11 connections and arbitrary TCP/IP
                ports can also be forwarded over the secure channel.
                It is intended as a replacement for rlogin, rsh and rcp, and can be
                used to provide applications with a secure communication channel.
                .
                This package provides both the ssh client and the sshd server.
                .
                --------------------------------------------------------------------
                .
                In some countries it may be illegal to use any encryption at all
                without a special permit.
                Tag: interface::shell, protocol::ipv6, role::sw:client, role::sw:server, security::cryptography, use::login