kr icon indicating copy to clipboard operation
kr copied to clipboard

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

Open spirosph opened this issue 6 years ago • 1 comments

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.

spirosph avatar May 14 '19 08:05 spirosph

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

robcohen avatar Jul 02 '19 15:07 robcohen