-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to use .ssh/config and update port handling
- Modified code to utilize .ssh/config for SSH configurations instead of the treehouses sshtunnel command. - Defined portArray as a string rather than an array. - Created default port pairs for the reverse SSH tunnel. - Implemented a function to convert the new portArray format ([port1]:[port2],[port3]:[port4]...) into an array of port numbers. - Updated the code to use the new portArray and instance name to create specific configurations in .ssh/config.
- Loading branch information
1 parent
0fe0ae2
commit d86a52b
Showing
3 changed files
with
25 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters