PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > Scp keys: problems copying from remote host to remote host
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Scp keys: problems copying from remote host to remote host

Réponse
 
LinkBack Outils de la discussion
Vieux 17/10/2006, 15h51   #1
complext
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Scp keys: problems copying from remote host to remote host

Hi,
I'm trying to scp some files between two remote servers. I use a
command like:
scp -i ssh_key root@comp1:/path1/file1 root@comp2:/path2/

This returns the error "Host key verification failed" and then I lose
the connection. Running in verbose mode tells me that the verification
fails for the destination server (comp2).

However, I know that the host key that I specify is correct for both
servers. I can successfully:
ssh -i ssh_key root@comp1
ssh -i ssh_key root@comp2

My ssh key has a passphrase and I use ssh-keychain (an OSX app) to
manage the passphrases for my sessions.

Any ideas what I'm doing wrong?

Cheers,
complext

  Réponse avec citation
Vieux 18/10/2006, 16h27   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Scp keys: problems copying from remote host to remote host

>
> Hi,
> I'm trying to scp some files between two remote servers. I use a
> command like:
> scp -i ssh_key root@comp1:/path1/file1 root@comp2:/path2/
>
> This returns the error "Host key verification failed" and then I lose
> the connection. Running in verbose mode tells me that the verification
> fails for the destination server (comp2).
>
> However, I know that the host key that I specify is correct for both
> servers. I can successfully:
> ssh -i ssh_key root@comp1
> ssh -i ssh_key root@comp2
>
> My ssh key has a passphrase and I use ssh-keychain (an OSX app) to
> manage the passphrases for my sessions.
>
> Any ideas what I'm doing wrong?


The "host key" is not the key you're using for client authentication.
Check /etc/ssh/ssh_known_hosts or ~/.ssh/known_hosts for a mismatched key
labelled with the server hostname and/or address.

--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 14h20.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08991 seconds with 10 queries