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

ssh-add - Linux Command

ssh-add

ssh-add [options] [files] ssh-add -e|-s reader

Add RSA or DSA identities to the authentication agent (see ssh-agent), which must be running and must be an ancestor of the current process. ssh-add reads the files created by ssh-keygen for private keys. It reads the information in these private keys to obtain RSA or DSA identities. With no arguments specified, ssh-add adds the files $HOME/.ssh/id_rsa, $HOME/.ssh/id_dsa, and $HOME/.ssh/identity. If any files are specified, it adds those instead, prompting for a passphrase if required.

Options

-c
Confirm identities being added, by running the program specified in the SSH_ASKPASS environment variable (see the ssh command). A 0 exit status from the program indicates successful confirmation.

-d
Remove an identity from the agent instead of adding one.

-D
Delete all identities from the agent.

-e reader
Remove key in specified smartcard reader.

-l
List fingerprints of all identities known to the agent.

-L
List public key parameters of all identities known to the agent.

-s reader
Add key in smartcard reader.

-t life
Set maximum lifetime when adding identities to an agent. The value of life can be in seconds or another time format specified in sshd.

-x
Lock the agent with a password.

-X
Unlock the agent.

Shop and help us

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

Related Posts:

  • Configure network interface - ifconfig Linux command ifconfig ifconfig [interface] ifconfig [interface address_family parameters addresses] Description TCP/IP command. Assign an address to a network interface and/or configure network interface parameters. ifconfig is typica… Read More
  • Delete file - rm Linux command rm rm [options] files Description Delete one or more files. To remove a file, you must have write permission in the directory that contains the file, but you need not have permission on the file itself. If you do not have… Read More
  • Delete the directories - rmdir Linux command rmdir rmdir [options] directories Delete the named directories (not the contents). directories are deleted from the parent directory and must be empty (if not, rm -r can be used instead). See also mkdir. Options --help Pr… Read More
  • host Linux Command host host [options] name [server] Description System administration command. Print information about hosts or zones in DNS. Hosts may be IP addresses or hostnames; host converts IP addresses to hostnames by default and ap… Read More
  • Set or display host name - hostname Linux Command hostname hostname [option] [nameofhost] Description Set or display name of current host system. A privileged user can set the hostname with the nameofhost argument. Options -a, --alias Display the alias name of the host … Read More
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

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