This repository has been archived by the owner on Jan 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a --bind flag for local port (#82)
- Added the ability to specify the local bind address of the ssh tunnel, for example: '--bind=0.0.0.0:8080'. This enables ChromeOS clients to access the web browser
- Loading branch information
1 parent
46ef157
commit dbc0ff5
Showing
4 changed files
with
31 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
vendor | ||
bin | ||
.vscode | ||
sshcode |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ func TestSSHCode(t *testing.T) { | |
defer wg.Done() | ||
err := sshCode("[email protected]", "", options{ | ||
sshFlags: testSSHArgs(sshPort), | ||
localPort: localPort, | ||
bindAddr: net.JoinHostPort("127.0.0.1", localPort), | ||
remotePort: remotePort, | ||
noOpen: true, | ||
}) | ||
|