Common tools of Linux openssh ssh-agent

Foreword

ssh-agent command is a control to save the private key public key authentication procedures used. ssh-agent session or at the beginning of the X login session is started, all other windows or programs in his capacity as the client program starts and added to the ssh-agent program. By using environment variables, the agent can locate and log on to other machines using ssh to authenticate using a proxy automatically. In fact, ssh-agent is a key manager, after running ssh-agent, use ssh-add the private key to ssh-agent custody, when other programs that require authentication can be verified to apply ssh-agent to complete the entire certification process.

 

grammar

ssh-agent [-c | -s] [-d] [-a bind_address] [-t life] [command [arg ...]]
ssh-agent [-c | -s] -k

 

Options

bind_address -a: the bind at The UNIX-to Agent at The Domain socket bind_address.
 -c: generation C- shell-style command output.
- d: debug mode.
-k: The SSH- Agent process to kill.
- S: generating command output Bourne shell style.
-t life: to set the default value to the maximum life as an agent.

 

Guess you like

Origin www.cnblogs.com/guge-94/p/12017654.html