Tuesday 15, Apr 2025
We are moved to new domain
Click -> www.ehowtonow.com
Tuesday, 22 August 2017

ssh-agent - Linux Command

ssh-agent

ssh-agent [options] [command [arguments] ]

Hold private keys used for public key authentication. ssh-agent is usually executed at the beginning of an X or login session; then all other windows or programs given as command are run as clients of ssh-agent. When a command is specified, the command and any arguments are executed. The agent dies when the command completes. Use ssh-add to add keys (identities) to the agent. Operations that require a private key are performed by the agent, which returns the results to the requestor. When using ssh-agent, you must specify a shell—for example:

$ ssh-agent /bin/bash

You can then use ssh-add to add identities.

Options


-a bind_addr
Bind the agent to the socket bind_addr (default is /tmp/ssh-nnnnnnnn/agent, where nnnnnnnn is a generated number).

-c
Write csh commands to standard output. This is the default if the environment variable SHELL looks like a csh-type shell.

-d
Debug mode.

-k
Kill the current agent.

-s
Write Bourne shell commands to standard output. This is the default if the environment variable SHELL does not look like a csh-type command.

-t life
Set a default value for maximum identity lifetime for added identities. May be specified in seconds or in a format specified in sshd(8). This value can be overridden by a lifetime specified for an identity with ssh-add. The default maximum lifetime is forever.

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer

Related Posts:

  • autoupdate Linux Command autoupdate autoupdate [options] [file] GNU autoconf tool. Update the configure template file file, or configure.ac if no file is specified. This command is seldom invoked manually. It is usually called automatically from o… Read More
  • sdiff Linux Command sdiff sdiff -o outfile [options] from to Find differences between the two files from and to and merge interactively, writing the results to outfile. Options -- Treat remaining options as filenames, even if they begin wit… Read More
  • route - Linux Command route route [options] [command] TCP/IP command. Add or remove entries in the routing tables maintained by routed. route accepts two commands: add, to add a route, and del, to delete a route. The two commands have the follo… Read More
  • echo - Linux Command echo echo [options] [string] Send (echo) the input string to standard output. This is the /bin/echo command. echo also exists as a command built into bash. The following character sequences have special meanings: \a Aler… Read More
  • ping - Linux Command ping ping [options] host System administration command. Confirm that a remote host is online and responding. ping is intended for use in network testing, measurement, and management. Because of the load it can impose on th… Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: ssh-agent - Linux Command Rating: 5 Reviewed By: eHowToNow