I suggest you ...

How can I configure a host for multiple hops with a command to run at end?

I'd like to configure to login into a nested server via SSH hops.

From a typical bash terminal I can run something like:

ssh -A -t host1 ssh -A -t host2 "become admin"

but when running in Termius then Termius insists on putting the SSH port at the end and it doesn't like the chaining so it stops at the first host.

It be better to let Termius let me type in the all the ssh command with the chosen switches so host entry would be

-A -t host1 ssh -A -t host2 "become admin"

and Termius would then run

ssh -p 22 -A -t host1 ssh -A -t host2 "become admin"

Termius should explicitly use a switch for SSH port instead of tacking on :22 at end

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Chris shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base