Skip to content

Commit

Permalink
improve message
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Aug 9, 2021
1 parent e49ea25 commit debb189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func printHintForClientHost(clientToServerUrl string, serverToClientUrl string,
if !flag.yamux && !flag.pmux {
if flag.symmetricallyEncrypts {
if opensslAesCtrParams != nil {
fmt.Println("[INFO] Hint: Client host. <PORT> should be replaced (socat + curl + openssl)")
fmt.Println("[INFO] Hint: Client host. Port 31376 may be replaced (socat + curl + openssl)")
fmt.Printf(
" read -p \"passphrase: \" -s pass && curl -NsS %s | stdbuf -i0 -o0 openssl aes-%d-ctr -d -pass \"pass:$pass\" -bufsize 1 -pbkdf2 -iter %d -md %s | socat TCP-LISTEN:31376 - | stdbuf -i0 -o0 openssl aes-%d-ctr -pass \"pass:$pass\" -bufsize 1 -pbkdf2 -iter %d -md %s | curl -NsST - %s; unset pass\n",
serverToClientUrl,
Expand Down

0 comments on commit debb189

Please sign in to comment.