<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi Matt,</div>
<div class="moz-cite-prefix">Thank you for your reply.<br>
</div>
<div class="moz-cite-prefix">I have just given it a try and in what
you proposed, <i>'username1@server1,username2' </i>becomes a
user name and server2 is a hostname.</div>
<div class="moz-cite-prefix">At the end, I solved the issue by
switching to openssh-client.<br>
</div>
<div class="moz-cite-prefix"><br>
Cheers,</div>
<div class="moz-cite-prefix">Adrian<br>
</div>
<div class="moz-cite-prefix"> <br>
</div>
<div class="moz-cite-prefix">On 04.05.2020 at 15:21, Matt Johnston
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:3CF2A8F1-2F3B-48FD-8C63-B2DA3CF1A0B0@ucc.asn.au">
<pre class="moz-quote-pre" wrap="">Hi Adrian,
With dropbear you should be able to list the hosts comma separated
dbclient -i /mydir/id_rsa username1@server1,username2@server2
Does that work? It should do something equivalent to the first one though, unless I've missed something.
Cheers,
Matt
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On Sun 3/5/2020, at 11:38 pm, Adrian Fiergolski <a class="moz-txt-link-rfc2396E" href="mailto:a.fiergolski@gmail.com"><a.fiergolski@gmail.com></a> 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@server1" username2@server2
and
$>dbclient -i /my_dir/id_rsa -J "dbclient -t -i /my_dir/id_rsa
username1@server1" username2@server2
return:
dbclient: Failed reading termmodes
dbclient: Connection to username1@server1:22 exited: Failed to set
raw TTY mode
dbclient: Connection to username2@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@server1" username2@server2
but it doesn't connect to the server2 neither.
The connection to the first host
dbclient -i /my_dir/id_rsa username1@server1
works properly.
What am I doing wrong? How to connect to the final server through the
ssh proxy using dropbear?
Regards,
Adrian
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>