# File lib/net/ssh/authentication/key_manager.rb, line 83 def finish @agent.close if @agent @agent = nil end