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

Commit

Permalink
Merge pull request #147 from BCallifornia/fix-http-warning-nopasswd
Browse files Browse the repository at this point in the history
Fixed allow-http-warning and no auth
  • Loading branch information
sreya authored Oct 29, 2019
2 parents 4f12e8f + fd95a40 commit f3adebb
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 f3adebb

Please sign in to comment.