kryptco / kr

DEPRECATED A dev tool for SSH auth + Git commit/tag signing using a key stored in Krypton.
https://krypt.co/developers/
Other
1.59k stars 109 forks source link

Error adding keys for CentOS 7.x server: Server incompatible with `kr` access control #271

Open spirosph opened 5 years ago

spirosph commented 5 years ago

I cannot add a CentOS 7.x server using kr on my Mac. "kr add" worked fine for an Ubuntu server I added, just won't work with CentOS 7.x server.

The error message I get:

$ kr --version
kr version 2.4.13
$
$ kr add --server someuser@94.*.*.*
no such identity: /Users/me/.ssh/id_ed25519: No such file or directory
no such identity: /Users/me/.ssh/id_ecdsa: No such file or directory
no such identity: /Users/me/.ssh/id_dsa: No such file or directory
someuser@94.*.*.*'s password: 
bash: sshd: command not found
Server does not use .ssh/authorized_keys for access control.
Error adding keys: Server incompatible with `kr` access control

Server info:

# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core) 

Note: I verified that sshd is in the PATH of 'someuser' on the server. I even created ~/.ssh/authorized_keys (with correct permissions) on the server, but again the same error.

Same problem as described in https://github.com/kryptco/kr/issues/222, but that issue was closed without an apparent resolution (apologies if I'm mistaken), so I opened this one.

robcohen commented 5 years ago

I am having the same problem, running debian locally and Centos 7 on the server.