When attempting to use the gpssh-exkeys
or gpseginstall
tools, key exchange fails with the following error and repeatedly requests a password:
Incompatible ssh peer (no acceptable kex algorithm) Error Message: [root@master ~]# gpssh-exkeys -f hostfile_exkeys [STEP 1 of 5] create local ID and authorize on local host ... /root/.ssh/id_rsa file exists ... key generation skipped [STEP 2 of 5] keyscan all hosts and update known_hosts file [STEP 3 of 5] authorize current user on remote hosts ... send to node1 *** *** Enter password for node1: [ERROR node1] Incompatible ssh server (no acceptable macs) *** *** Enter password for node1:
This error is caused by missing entries. Add the following entries to the /etc/ssh/sshd_config
file on the remote server to resolve this issue: