Log in

Bekijk de volledige versie : scp using identity file - is it working?



RoofCat
11-02-2005, 11:18
Hello,

While trying to arrange regular copying of files from asus box I've got stuck with strange thing - scp seems does not work with identity file (while ssh works). When I try to use scp it returns error (see code below)


[admin@router root]$ scp -v -i /usr/local/root/.ssh/identity sample.txt ab@host.net:
Executing: program /usr/bin/ssh host park-11.park.rambler.ru, user ab, command scp -v -t .
WARNING: Ignoring unknown argument '-x'
WARNING: Ignoring unknown argument '-oForwardAgent no'
WARNING: Ignoring unknown argument '-oClearAllForwardings yes'
WARNING: Ignoring unknown argument '-v'
Failed loading keyfile '-l'
/usr/bin/ssh: exited: Error resolving: Name or service not known
lost connection

while ssh works ok with same identity file


[admin@router root]$ ssh -v -i /usr/local/root/.ssh/identity ab@host.net
WARNING: Ignoring unknown argument '-v'
Last login: Fri Feb 11 13:05:40 2005 from

<<skipped>>



Am I doing something wrong and it supposed to work another way :confused: ???

TIA
Roofcat

Oleg
11-02-2005, 16:50
Hm, same thing for me - probably this is due to dropbear beta. It's time to upgrade to latest...

Oleg
12-02-2005, 19:33
Please check your PM.