| oarsh(1) | OAR commands | oarsh(1) |
oarsh - remote shell connector for OAR batch scheduler.
oarcp - oarsh companion to copy files from a node or to a node.
oarsh [OPTIONS] <NODENAME> [COMMAND]
oarcp [OPTIONS] [NODENAME:]<PATHNAME> [NODENAME:]<PATHNAME>
Connect to a node from the job submission frontend of the cluster or any other node.
The oarsh mechanism uses OpenSSH client (the ssh command) under the hood to perform connections to remote hosts. Thus most of OpenSSH options can be used (but some are filtered out for security reasons).
oarsh node-23
OAR_JOB_ID=4242 oarsh node-23
OAR_JOB_KEY_FILE=~/my_key oarsh node-23
oarsh -i ~/my_key node-23
OAR_USER_CPUSET=0,7 OAR_USER_GPUDEVICE=/dev/nvidia3 oarsh node-23
oarsh inherits from most of OpenSSH capabilities (e.g. X11 forwarding). However, one feature which oarsh does break is the SSH Agent.
The user's OpenSSH configuration files (files in the ~/.ssh directory) are not used by oarsh.
When a job is running alone on a whole host, it may be possible to simply use ssh instead of oarsh to connect to the host. This require OAR to be configured with the pam_oar_adopt mechanism.
oarprint(1), oarnodes(1), lstopo(1), ssh(1), oarcp(1), oarsub(1), pam_oar_adopt(8)
Copyright 2003-2025 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU General Public License Version 2 or above. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| 2025-03-24 | oarsh |