LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Centos 6.3 host+guest: try scp to guest: scp cmd not found. ssh ok (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/centos-6-3-host-guest-try-scp-to-guest-scp-cmd-not-found-ssh-ok-4175423538/)

chrism01 08-23-2012 01:06 AM

Centos 6.3 host+guest: try scp to guest: scp cmd not found. ssh ok
 
Hi guys,

can ssh from host to guest ok; scp fails with
Code:

bash: scp: command not found
lost connection

host
Code:

>rpm -qa|grep ssh

libssh2-1.2.2-7.el6_2.3.x86_64
openssh-5.3p1-81.el6.x86_64
openssh-clients-5.3p1-81.el6.x86_64
openssh-server-5.3p1-81.el6.x86_64

guest
Code:

rpm -qa|grep -i ssh
libssh2-1.2.2-7.el6_2.3.x86_64
openssh-5.3p1-81.el6.x86_64
openssh-server-5.3p1-81.el6.x86_64

Surely only the client (host) needs client tools.

droyden 08-23-2012 02:13 AM

No,you need to install the clients on he other server too as it calls the scp binary from sshd

chrism01 08-24-2012 12:03 AM

Hmmm, sounds odd....
Problem is they are both built from same iso, should be identical, and I can't scp scp-client to guest ...

droyden 08-24-2012 01:52 AM

You are missing the clients rpm on the guest, that is the problem...


All times are GMT -5. The time now is 02:48 AM.