<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hello All,</p>
<p>I have a request from users for the ability to have persistent
interactive jobs. Currently some users are using srun to allocate
and interactive job and run their scripts but sshd will close
connections after 2 hours to prevent hanging ssh connections. They
want to spawn an R or python shell to work in directly for
testing.<br>
</p>
<p>I've attempted to use salloc and ssh to attach to the job but
allocations are relinquished when the user leaves the submit node.
Is there an easy way for a user to create a job allocation that
spawns a terminal they can attach and unattach from? I'm looking
at different ways to create a job that will spawn tmux and stay
open, but it would be great if there was a way to directly
attach/dettach to the output of a spawned terminal they could just
ssh too.</p>
<p>Regards,<br>
</p>
<div class="moz-signature">-- <br>
<title></title>
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td width="150" valign="top" height="30" align="left">
<p style="font-size:14px;">Willy Markuske</p>
</td>
</tr>
<tr>
<td style="border-right: 1px solid #000;" align="left">
<p style="font-size:12px;">HPC Systems Engineer</p>
</td>
<td rowspan="3" width="180" valign="center" height="42" align="center"><tt><img moz-do-not-send="false" src="cid:part1.UNsZAf02.mTYIxsEP@sdsc.edu" alt="" width="168" height="48"></tt> </td>
</tr>
<tr>
<td style="border-right: 1px solid #000;" align="left">
<p style="font-size:12px;">Research Data Services</p>
</td>
</tr>
<tr>
<td style="border-right: 1px solid #000;" align="left">
<p style="font-size:12px;">P: (619) 519-4435</p>
</td>
</tr>
</tbody>
</table>
<p> </p>
</div>
</body>
</html>