ssh/forward: Fix reference to the functions to call to route authentication requests.
R=agl CC=golang-codereviews, hanwen https://golang.org/cl/95910043
This commit is contained in:
committed by
Adam Langley
parent
7c7765c32f
commit
df2851958a
@@ -14,7 +14,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// RequestAgentForwarding sets up agent forwarding for the session.
|
// 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.
|
// the authentication requests.
|
||||||
func RequestAgentForwarding(session *ssh.Session) error {
|
func RequestAgentForwarding(session *ssh.Session) error {
|
||||||
ok, err := session.SendRequest("auth-agent-req@openssh.com", true, nil)
|
ok, err := session.SendRequest("auth-agent-req@openssh.com", true, nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user