码迷,mamicode.com
首页 > 其他好文 > 详细

SSH: key, agent, keychain

时间:2015-03-16 08:37:53      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:

以前遇到过一个问题,在用有些 Linux 发行版时,用 ssh-keygen 产生好了密钥对并上传到了目标服务器,但每次登录都要重新输入。

这与 ssh-agent 有关,看如下 man ssh-agent 的输出:

ssh-agent is a program to hold private keys used for public key authentication (RSA, DSA). The idea is
that ssh-agent is started in the beginning of an X-session or a login session, and all other windows or
programs are started as clients to the ssh-agent program. Through use of environment variables the agent
can be located and automatically used for authentication when logging in to other machines using ssh(1).

 

SSH: key, agent, keychain

标签:

原文地址:http://www.cnblogs.com/exclm/p/4340966.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!