Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
Fixed allow-http-warning and no auth
Browse files Browse the repository at this point in the history
  • Loading branch information
BCallifornia committed Oct 25, 2019
1 parent 4f12e8f commit fd95a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sshcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func sshCode(host, dir string, o options) error {
flog.Info("Tunneling remote port %v to %v", o.remotePort, o.bindAddr)

sshCmdStr :=
fmt.Sprintf("ssh -tt -q -L %v:localhost:%v %v %v 'cd %v; %v --host 127.0.0.1 --allow-http --no-auth --port=%v'",
fmt.Sprintf("ssh -tt -q -L %v:localhost:%v %v %v 'cd %v; %v --host 127.0.0.1 --auth none --port=%v'",
o.bindAddr, o.remotePort, o.sshFlags, host, dir, codeServerPath, o.remotePort,
)

Expand Down

0 comments on commit fd95a40

Please sign in to comment.