Regarding Publickey password permission denied

Hello,

When I try to submit a job, I experience a following error:
jsethuraman@slurmctl.lan.csc.uni-frankfurt.de: Permission denied (publickey,password).

Though I have shared the public key in slurmctl.lan.csc.uni-frankfurt.de server but still it causing a problem when I try to submit a job. But I when i try to access the server target server from OOD server, it works pretty weel. But when I try to submit a form then it causes this problem. I tried my best to resolve the issue but nothing works.

Here’s is my cluste yml file:


v2:
metadata:
title: “g_acct_hlr cluster”
login:
host: “slurmctl.lan.csc.uni-frankfurt.de
password: true
ssh:
user: “%{User}”
port: 22
options:
BatchMode: “yes”
#PasswordAuthentication: “no”
#PreferredAuthentications: “publickey”
#IdentityFile: “/home/%{User}/.ssh/id_ed25519”
StrictHostKeyChecking: “no”
UserKnownHostsFile: “/dev/null”
job:
adapter: “slurm”
cluster: “g_acct_hlr”
submit_host: “slurmctl.lan.csc.uni-frankfurt.de” # or your cluster login node
password: true
ssh:
user: “%{User}”
port: 22
options:
BatchMode: “yes”
#PasswordAuthentication: “no”
#PreferredAuthentications: “publickey”
#IdentityFile: “/home/%{User}/.ssh/id_ed25519”
StrictHostKeyChecking: “no”
UserKnownHostsFile: “/dev/null”
sbatch: “/usr/bin/sbatch”
squeue: “/usr/bin/squeue”
scancel: “/usr/bin/scancel”
sinfo: “/usr/bin/sinfo”
bin: “/usr/bin”
conf: “/etc/slurm/slurm.conf”
bin_overrides:

   # sbatch: "/usr/local/bin/sbatch"
   # squeue: ""
   # scontrol: ""
   # scancel: ""
 copy_environment: false

batch_connect:
basic:
script_wrapper: |
module purge
%s
set_host: “host=$(hostname -A | awk ‘{print $1}’)”
vnc:
script_wrapper: |
module purge
#Add the TurboVNC installation directory to the PATH (note: this may be different on your system)
export PATH=“/opt/TurboVNC/bin:$PATH”
export WEBSOCKIFY_CMD=“/usr/bin/websockify”
%s
set_host: “host=$(hostname -A | awk ‘{print $1}’)”

Could you please help me with this?

Thanks in advance!

Best Regards,
Hariharan

Hello,

This isssue got resolved.
Many thnaks for your kind attention!

Best Regards,
Hariharan