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.
/etc/ood/config/apps/shell/env
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?
you will need to create a trusted key between hosts for the user.
ssh-keygen
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.
Excellent. Glad to help. Thanks for the follow up communication.