[slurm-users] Remote submission hosts and security
Jeff White
jeff.white at wsu.edu
Wed Dec 6 14:14:46 MST 2017
On 12/06/2017 11:22 AM, Michael Jennings wrote:
> On Wednesday, 06 December 2017, at 08:23:10 (-0800),
> Jeff White wrote:
>
>> A Web portal is exactly why I am doing this. The remote server is a
>> Web server running some software that expects to pass a script to
>> sbatch directly. So the SSH stuff you mention doesn't apply.
> I'm not sure I agree with you there. :-)
>
> The "sbatch" executable it finds and runs doesn't *have* to be SLURM's
> sbatch. It could easily be a wrapper script/program that could do
> literally anything, including SSHing to the cluster with
> passphraseless SSH keys and executing a predefined program -- possibly
> sbatch, or maybe another wrapper -- to submit the job. The wrapper
> could feed in the file on stdin, set environment variables, etc., all
> within your ability to control (since the exact command which is
> executed is guaranteed by authorized_keys).
>
> Seems like a pretty straightforward way of accomplishing what you're
> trying to do, with a little coding work on your part....
>
> Michael
>
I'm not interested in workarounds. To be honest this method seems odd
and I don't want to allow SSH in that way. I'm not interested in coding
either. My question was if Slurm can do this or not.
More information about the slurm-users
mailing list