summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Stein <github@istik.de>2020-06-12 00:11:51 +0200
committerGitHub <noreply@github.com>2020-06-12 00:11:51 +0200
commit292ae9ed0847bc485cdc13eae28d2f4ea2be7a00 (patch)
treebb2cd99420ef5477cdc35143cbf9a2ec5d471bf6
parentbff0dcf66dd2e3e888fac00c9bb2f166af341346 (diff)
downloadnet-ssh-292ae9ed0847bc485cdc13eae28d2f4ea2be7a00.tar.gz
Update lib/net/ssh/authentication/agent.rb
Co-authored-by: Miklós Fazekas <mfazekas@szemafor.com>
-rw-r--r--lib/net/ssh/authentication/agent.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/authentication/agent.rb b/lib/net/ssh/authentication/agent.rb
index 5d51fe1..28000db 100644
--- a/lib/net/ssh/authentication/agent.rb
+++ b/lib/net/ssh/authentication/agent.rb
@@ -191,7 +191,7 @@ module Net
raise AgentError, "could not remove all identity from agent" if type != SSH_AGENT_SUCCESS
end
- # lock the ssh agend with password
+ # lock the ssh agent with password
def lock(password)
type, = send_and_wait(SSH2_AGENT_LOCK, :string, password)
raise AgentError, "could not lock agent" if type != SSH_AGENT_SUCCESS