Explorar o código

ssh/forward: Fix reference to the functions to call to route authentication requests.

R=agl
CC=golang-codereviews, hanwen
https://golang.org/cl/95910043
David Calavera %!s(int64=11) %!d(string=hai) anos
pai
achega
df2851958a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ssh/agent/forward.go

+ 1 - 1
ssh/agent/forward.go

@@ -14,7 +14,7 @@ import (
 )
 
 // RequestAgentForwarding sets up agent forwarding for the session.
-// SetupForwardKeyring or SetupForwardAgent should be called to route
+// ForwardToAgent or ForwardToRemote should be called to route
 // the authentication requests.
 func RequestAgentForwarding(session *ssh.Session) error {
 	ok, err := session.SendRequest("auth-agent-req@openssh.com", true, nil)