≡ Menu

ssh-add command

How to fix: MacOS keep asking passphrase for ssh key after upgrade or reboots

I recently upgraded my MacOS Sierra and now ssh command keep asking for passphrase as follows when I try to login to my remote Linux/Unix server:
      Enter passphrase for key ‘/Users/vivek/.ssh/id_ed25519’:
How do I fix MacOS Sierra upgrade that keep breaking ssh keys in terminal?
[click to continue…]

How To Setup SSH Keys on a Linux / Unix System

I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for Linux/Unix, how do I set up public key authentication?
[click to continue…]

OpenSSH: ssh-add / ssh-agent Command Set Maximum Lifetime In Seconds

I‘m using a Mac OS X and combination of ssh-agent+ssh-add to adds RSA or DSA identities to the authentication agent. ssh-agent provides me a secure way of storing the private key. However, I’d like to expire identities added to the agent within half an hour. How do I set lifetime of identities added to the agent under Unix / Linux / BSD / Apple OS X operating systems?
[click to continue…]

SSH: Agent Admitted Failure To Sign Using The Key Error And Solution

I‘ve recently regenrated and uploaded a new public ssh-key using the ssh-copy-id command. Now I’m getting the following error:

ssh root@server3
Agent admitted failure to sign using the key.
root@server3’s password:

How do I fix this problem?
[click to continue…]

Linux / UNIX: Generate SSH Keys

How do I generate ssh keys under Linux / UNIX / Mac OS X and *BSD operating systems for remote login?
[click to continue…]