Hello,
I've run into some issues setting up host-based authentication on CloudLab. I need to configure host-level trust between a CloudLab node and a remote host for testing an application called Open OnDemand.
Documentation:
Open OnDemand,
hostBasedAuthenticationFrom what I understand CentOS/RHEL has a group called ssh_keys that is used by ssh-keysign to enable secure signing of host keys in /etc/ssh. But when I start up a new experiment using a CentOS7 image, I see that the host keys in /etc/ssh have these permissions and no ssh_keys group exists in /etc/group:
-rw-------. 1 root root 227
[date] ssh_host_ecdsa_key
-rw-r--r--. 1 root root 162
[date] ssh_host_ecdsa_key.pub
-rw-------. 1 root root 387
[date] ssh_host_ed25519_key
-rw-r--r--. 1 root root 82
[date] ssh_host_ed25519_key.pub
-rw-------. 1 root root 1675
[date] ssh_host_rsa_key
-rw-r--r--. 1 root root 382
[date] ssh_host_rsa_key.pub
When I know it typically looks something like:
-rw-r-----. 1 root ssh_keys 668 [date] ssh_host_dsa_key
-rw-r--r--. 1 root root 590
[date] ssh_host_dsa_key.pub
-rw-r-----. 1 root ssh_keys 965
[date] ssh_host_key
-rw-r--r--. 1 root root 630
[date] ssh_host_key.pub
-rw-r-----. 1 root ssh_keys 1679
[date] ssh_host_rsa_key
-rw-r--r--. 1 root root 382
[date] ssh_host_rsa_key.pub
Without ssh-keysign being part of the group ssh_keys and having group readable permissions for the host_keys in /etc/ssh, I can't enable host-level trust. Is this an intentional decision for the security of the CloudLab nodes? Is there a way I can safely enable this feature or would it be safer to do this on another platform?
Thanks for the help!
Pierce Jorgensen
University of Utah, CHPC