Ssh into nodes

From wiki
Jump to: navigation, search

SSH has a whitelist system for sshing; only people who are on it can ssh into the nodes if

AllowUsers jw279 pjt6

has been added to

/etc/ssh/sshd_config.

This is great and stops people ssh-ing into nodes, but also stops qrsh into nodes. This is because we use ssh to connect.

qconf -sconf 

shows this in the lines

rsh_command                  /usr/bin/ssh
rsh_daemon                   /usr/sbin/sshd -i

From [1] changing

rsh_command                  /usr/bin/ssh

to

rsh_command                  /usr/bin/ssh -i -f /etc/ssh/sshd_qrsh_config

should work if we add the AllowUsers line to sshd_config and have an identical copy of it without this line called sshd_qrsh_config.

It doesn't though and I can't work out why.