osmanirosado
(Osmani Rosado-Falcon)
July 18, 2022, 4:02pm
#1
We define the following environment variables in the /etc/ood/config/apps/shell/env
file to allow ssh connection to the ondemand’s web server.
OOD_DEFAULT_SSHHOST=localhost
OOD_SSHHOST_ALLOWLIST=localhost
When a user starts a terminal emulator in the browser, the ssh server prompts for a password. How can we configure the shell application to authenticate the user automatically.
Is it possible to configure ssh key authentication?
gbyrket
(Gerald Byrket)
July 18, 2022, 4:54pm
#2
you will need to create a trusted key between hosts for the user.
ssh-keygen
osmanirosado
(Osmani Rosado-Falcon)
July 18, 2022, 10:48pm
#3
I generated the key for a user (ssh-keygen) and installed this key (ssh-copy-id). As a result, this user is no longer prompted for a password.
Thanks for your help.
gbyrket
(Gerald Byrket)
July 18, 2022, 10:53pm
#4
Excellent. Glad to help. Thanks for the follow up communication.