bastillion-io / Bastillion-EC2

A web-based SSH console to execute commands and manage multiple EC2 instances simultaneously running on Amazon Web Services (AWS).

Home Page:https://www.bastillion.io/features.html#ec2box

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use SSH tunneling to connect terminal.

preetampatil3d opened this issue · comments

Trying to connect terminals using SSH tunneling. Not getting proper documents.
As you mentioned on sshkeybox that its not possible. But is it possible on ec2box ?
image

waiting for reply,
Thanks.

Tunneling won't work through EC2Box either

As KeyBox and EC2Box are two different applications and i am using EC2Box.
So, whether tunneling work through EC2Box or not? if not then why?

Because tunneling is a function of SSH. The user connects to EC2Box over HTTP, then EC2Box establishes the SSH connection.

We have implemented ssh tunneling using 'setPortForwardingL' method of jsch.

We want to close ssh tunneling if it is not active for long time, but we are unable to detect whether tunneling is active or not.

If you know any solution please let us know.

Thanks.

JSch client is used on the EC2Box server and users connect to EC2Box over HTTPS. ...so you would only be forwarding the ports from EC2Box to/from the target server. I don't see how users can take advantage of this, unless you are exposing the port to them that is forwarded on the EC2Box server.

.. but I really don't have any idea how to use Jsch to tell if a tunneled port is inactive.

In my case user know which remote port to access. So my requirement is fulfilled by setPortForwardingL function of Jsch.