strange scp behavior

Roberto A. Foglietta roberto.foglietta at gmail.com
Thu Aug 30 23:34:03 WST 2007


2007/8/30, Matt Johnston <matt at ucc.asn.au>:
> On Tue, Aug 28, 2007 at 11:48:55AM +0200, Roberto A. Foglietta wrote:
> > Hi to all folks,
> >
> >  scp works but dbclient used as sco don't, I tried to figure out why...
> > ...but what I found make me fool. it seems to me dbclient try to
> > resolve the first parameter even when the host is a second one.
> > However fails in both where OpenSSH scp works pretty well. Thanks
> >
> > foglietr at eemd2364170:~/Desktop/dropbear-0.49/_install/bin$ strace
> > ./dbclient dbclient foglietr at gexs22:/tmp 2>&1 | grep dbclient
>
> Running that doesn't make any sense. The second argument of
> "dbclient" is always a hostname - dbclient is a ssh program,
> not a scp program.
>
> If you want to scp a file, run 'scp', not 'dbclient'. Note
> that scp will itself run a ssh client (such as dbclient or
> OpenSSH's 'ssh'). You can use its '-S' argument to specify
> which ssh client.
>
> If you've compiled dbclient and scp as a single binary with
> dropbearmulti, you can "ln -s dropbearmulti scp" and run
> that.

 Thanks very much for your answer.
 This Makefile.in should work better when installing MULTI=1.

 Cheers,
-- 
/roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.in
Type: application/octet-stream
Size: 6193 bytes
Desc: not available
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20070830/e287c069/attachment.obj 


More information about the Dropbear mailing list