Document improvements
Dynom opened this issue · 7 comments
Dynom commented
Hi,
If you install a more recent SSH version via (e.g.) brew one might get the:
$ ssh-add -K
ssh-add: illegal option -- K
Pass the full path to ssh-add (/usr/bin/ssh-add
) to work around this problem.
mxstbr commented
Hahaha that works, what on earth!
goforgold commented
Didn't work with specifying full path either
/usr/bin/ssh-add -K /home/path/to/id_rsa
ssh-add: illegal option -- K
usage: ssh-add [options] [file ...]
Options:
-l List fingerprints of all identities.
-L List public key parameters of all identities.
-d Delete identity.
-D Delete all identities.
-x Lock agent.
-X Unlock agent.
-t life Set lifetime (in seconds) when adding identities.
-c Require confirmation to sign using identities
-s pkcs11 Add keys from PKCS#11 provider.
-e pkcs11 Remove keys provided by PKCS#11 provider.
-n Add keys in NSS key.
-T Name NSS key explicitly.
Note: I am on CentOS 6.X
jirsbek commented
Unfortunately I'm not able to reproduce the problem on the CentOS. This repository is related to macOS only.
sojungko commented
@goforgold Try with lowercase -k
. That worked for me.
goofiw commented
lowercase -k doesn't complain, but it also doesn't persist across sessions. (I'm running in this issue on a digital ocean droplet running ubuntu 16.04)