Browse Source

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 11 years ago
parent
commit
df2851958a
1 changed files with 1 additions and 1 deletions
  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)