So, is it still possible to use spank even when the code is compiled for x11? It seems that Rocks uses RSA keys. It also uses hostbasedauthentication.
[root@rocks7 ~]# cd /etc/ssh/ [root@rocks7 ssh]# ls authorized_keys shosts.equiv ssh_host_ecdsa_key ssh_host_ed25519_key.pub ssh_known_hosts moduli ssh_config ssh_host_ecdsa_key.pub ssh_host_rsa_key RCS sshd_config ssh_host_ed25519_key ssh_host_rsa_key.pub [root@rocks7 ssh]# cd authorized_keys/ [root@rocks7 authorized_keys]# ls id_rsa.pub Also ssh_known_hosts contains compute-0-5 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCaWf7D+NY5gl6ibFcCRAY4Rt9kbTYAsFFJ7iiMCY1sAehWSs49Vy3rUrP/+et1i9doXzq/Yh00FdwO8cRUHO14zifnDJVbLRBuLhmfZTVACms6EzIC+HhhseDCqUSV64qrp0G/bGaHr18x59HvwyHgIqfUW+lCOj7GDXP0wy/ikMSr8PwRKgreq+HdpHbYI7D5WIQzvdo6gMwjKl4Srg+9AlBTLpB78lm8mRxCAqtiDfE8+PQxfovAuyd/Y8DURCNx1FRiXjI8XCnzv8M7QnhL/dBq4QZ6hQBmzIasJ1kHt/PFmQHJQnauvFI2TEQYMUVZ6eDEbx4IWjExvUrukrul 'rocks7-cluster-key' Does that mean everything is ok? I wonder why the second command fails? 1) [mahmood@rocks7 ~]$ srun --nodelist=rocks7 -n 1 -c 6 --mem=8G -A y8 -p RUBY xclock Warning: Missing charsets in String to FontSet conversion which shows the xclock 2) [mahmood@rocks7 ~]$ srun --x11 --nodelist=rocks7 -n 1 -c 6 --mem=8G -A y8 -p RUBY xclock srun: error: Cannot forward to local display. Can only use X11 forwarding with network displays. >Another thing is we had to set: > * X11Parameters=local_xauthority Where? sshd config file? Regards, Mahmood On Fri, Nov 16, 2018 at 2:45 PM Bas van der Vlies < bas.vandervl...@surfsara.nl> wrote: > It is compile\d with `-x11` else you get an error message that the > option is not supported. As said it only supports RSA-keys (hardcoded > in the src, libssh2 can handle more formats) and you must use short > hostnames. Another thing is we had to set: > * X11Parameters=local_xauthority > > because we have autofs enabled home dirs. > > regards > >