Skip to content
Discussion options

You must be logged in to vote

Hi @corinja! What you are experiencing is not due to the interactive mode but due to the fact that basti connect is by design a long-running process that listens to a port on your machine. To unblock the shell script after Basti has successfully established connection, please, use the example provided in the documentation that runs Basti in a detached mode and leverages the wait-on utility to wait for the connection.

From docs:

To continue executing the script after the connection is established, you can use Basti in conjunction with the wait-on utility and the & shell operator:

basti connect --rds-instance your-instance-id --local-port your-port &
wait-on tcp:localhost:your-port

Thank …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by corinja
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #121 on February 13, 2025 08:10.