dbclient v2019.78: proxyJump

Matt Johnston matt at ucc.asn.au
Mon May 4 21:21:27 AWST 2020


Hi Adrian,

With dropbear you should be able to list the hosts comma separated

dbclient -i /mydir/id_rsa  username1 at server1,username2 at server2

Does that work? It should do something equivalent to the first one though, unless I've missed something.

Cheers,
Matt

> On Sun 3/5/2020, at 11:38 pm, Adrian Fiergolski <a.fiergolski at gmail.com> wrote:
> 
> Hi,
> 
> I am having troubles connecting to another host though a ssh proxy. The
> command:
> 
>     $>dbclient -i /my_dir/id_rsa -J "dbclient -i /my_dir/id_rsa
> username1 at server1" username2 at server2
> 
> and  
> 
>     $>dbclient -i /my_dir/id_rsa -J "dbclient -t -i /my_dir/id_rsa
> username1 at server1" username2 at server2
> 
> return:
> 
>     dbclient: Failed reading termmodes
>     dbclient: Connection to username1 at server1:22 exited: Failed to set
> raw TTY mode
>     dbclient: Connection to username2 at server2:22 exited: Remote closed
> the connection
> 
> I have also tried 
> 
>     $>dbclient -i /my_dir/id_rsa -J "dbclient -T -i /my_dir/id_rsa
> username1 at server1" username2 at server2
> 
> but it doesn't connect to the server2 neither.
> 
> The connection to the first host
> 
>     dbclient -i /my_dir/id_rsa username1 at server1
> 
> works properly.
> 
> What am I doing wrong? How to connect to the final server through the
> ssh proxy using dropbear?
> 
> Regards,
> 
> Adrian
> 
> 



More information about the Dropbear mailing list