Re: Problem with Dropbear/dbclient as SFTP client

2013-03-02 Thread Matt Johnston
On Fri, Mar 01, 2013 at 02:47:05PM +0100, Alexis-externe DAVOUX wrote:
 Hi Matt,
 
 Thanks for your quick answer.
 If I understand correctly, the dbclient establishes the underlying SSH 
 connection with the SFTP server, but does not implement a whole SFTP 
 client.
 So I have to use a separate sftp client (such as sftp from OpenSSH), which 
 can rely on Dropbear to establish the SSH connection with the server.

Yes, that's right.

 OK, this is clearer now, thanks. I think that a mention of this on your 
 website or in the Readme file could be useful.

That's a good point, I've mentioned it in the manpage now.

Cheers,
Matt


Re: Problem with Dropbear/dbclient as SFTP client

2013-03-01 Thread Matt Johnston
Hi,

Dropbear doesn't have its own sftp client, but you can use
it with the OpenSSH sftp client:

sftp -S dbclient user@host

Cheers,
Matt

On Thu, Feb 28, 2013 at 05:39:27PM +0100, Alexis-externe DAVOUX wrote:
 Hi,
 
 I have some trouble with dropbear used as SFTP client.
 
 I've set up a SFTP server on my machine, which works fine. I've tested the 
 connection to the server with Filezilla client.
 I've tried connecting to the SFTP server with dropbear using the command:
 
 dbclient -s user@host sftp
 
 I can authenticate successfully, and I get the welcome message, but after 
 that I can't do anything: it seems that dbclient is waiting for some 
 command but nothing seems to work. I've tried entering 'ls', 'cd /test', 
 'get test.txt', 'pwd',... but nothing happens when I validate with enter.
 
 How can I use dbclient as SFTP client ? What is the correct syntax ?
 
 Thanks in advance,
 Best regards,
 
 Alexis