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 > > [EMAIL PROTECTED]:~/Desktop/dropbear-0.49/_install/bin$ strace > ./dbclient dbclient [EMAIL PROTECTED]:/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. Cheers, Matt
