You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I connect to an EC2 instance via SSM, but then want to execute an SSH command to tunnel (I cannot use the native SSM tunnel). The problem I have is I do not know when the prompt is ready for the SSH command, so don't know when to run it. I currently have a setTimeout on connection.onopen but it won't work all the time.
Would it be possible to have some callback?
Thanks
The text was updated successfully, but these errors were encountered:
Hi, thanks for creating this library!
I have a use case where I connect to an EC2 instance via SSM, but then want to execute an SSH command to tunnel (I cannot use the native SSM tunnel). The problem I have is I do not know when the prompt is ready for the SSH command, so don't know when to run it. I currently have a
setTimeout
onconnection.onopen
but it won't work all the time.Would it be possible to have some callback?
Thanks
The text was updated successfully, but these errors were encountered: