<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Sonya,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I will take care of the linuxRT part no worries.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Cheers,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Ernest Williams <br>
Dept. Head, Advanced Control Systems<br>
Advanced Instrumentation Research, Technology Innovation Directorate<br>
SLAC National Laboratory, Stanford University</div>
</span></font></div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Sonya Hoobler <sonya@slac.stanford.edu><br>
<b>Sent:</b> Tuesday, May 1, 2018 9:22 AM<br>
<b>To:</b> Hill, Bruce<br>
<b>Cc:</b> Pascual, Patrick James; Wesley Moore; lerftest-ctrls@jlab.org; Luchini, Kristi L.; Slepicka, Hugo Henrique; Williams Jr., Ernest L.<br>
<b>Subject:</b> Re: [Lerftest-ctrls] ssh tunnelling back to SLAC</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Bruce,<br>
<br>
> Sonya, Kristi, Patrick, et al:<br>
> Can you confirm if you'll need to build linuxRT ioc's on lclsapp1?<br>
<br>
Yes, we will need this. In addition to SLAC developers, JLab folks will <br>
likely also need to modify/compile at LERF.<br>
<br>
Hopefully this doesn't add too much work for you.<br>
<br>
Thanks,<br>
Sonya<br>
<br>
<br>
<br>
On Tue, 1 May 2018, Bruce Hill wrote:<br>
<br>
> Hi Patrick,<br>
><br>
> I was just about to give up and write back that I couldn't get this to work<br>
> only to find that I'd mis-spelled jlabl1 in my tunnel setup. (needs 2 l's)<br>
><br>
> I fixed the tunnel and was able to clone the SLAC AFS base.git repo.<br>
> I've built R3.15.5-1.branch for rhel6 in my work area, but had to disable<br>
> the vxWorks and linuxRT target arches. Tomorrow I'll get it built as a <br>
> release.<br>
><br>
> Can you confirm that we'd each need our own tunnel ports if more than<br>
> one of us tried to setup a tunnel? I used port 3333 for mine.<br>
><br>
> Sonya, Kristi, Patrick, et al:<br>
> Can you confirm if you'll need to build linuxRT ioc's on lclsapp1?<br>
><br>
> Normally you'd use cram and build on the SLAC dev network but it may<br>
> be tricky to use cram via the ssh tunnel. Has anyone tried that?<br>
><br>
> Cheers,<br>
> - Bruce<br>
><br>
><br>
> On 04/30/2018 03:38 PM, Pascual, Patrick James wrote:<br>
>> I got the following to work from lclsapp1:<br>
>> <br>
>> ssh -fNT -L <local_port>:rhel6-64.slac.stanford.edu:22 <br>
>> <CUE_username>@jlabl1.jlab.org<br>
>> <br>
>> where <local_port> is not an in-use or privileged port (e.g., NOT 22).<br>
>> <br>
>> The above command says, "Establish an SSH tunnel in the background such <br>
>> that all connections to localhost:<local_port> are forwarded to <br>
>> rhel6-64.slac.stanford.edu:22 through jlabl1.jlab.org".<br>
>> <br>
>> Then you can do:<br>
>> <br>
>> git clone ssh://<SLAC_username>@localhost:<local_port>/path/to/git/repo<br>
>> <br>
>> This can be further streamlined by editing your .ssh/config file and adding <br>
>> the appropriate Host/Port directives.<br>
>> <br>
>> Patrick J. Pascual<br>
>> Controls Software/Systems Engineer, EED<br>
>> Bldg 034, Rm 208A<br>
>> 2575 Sand Hill Rd., MS50<br>
>> Menlo Park, CA 94025<br>
>> (650) 926-3539<br>
>> <br>
>> ________________________________________<br>
>> From: Lerftest-ctrls <lerftest-ctrls-bounces@jlab.org> on behalf of Wesley <br>
>> Moore <wmoore@jlab.org><br>
>> Sent: Monday, April 30, 2018 9:59:28 AM<br>
>> To: lerftest-ctrls@jlab.org<br>
>> Subject: [Lerftest-ctrls] ssh tunnelling back to SLAC<br>
>> <br>
>> Specifically asked by Bruce and Patrick:<br>
>> <br>
>> The JLAB equivalent of public linux hosts (like rhel6-64.slac.stanford.edu) <br>
>> are:<br>
>> <br>
>> RHEL6:<br>
>> jlabl1 - jlabl4<br>
>> <br>
>> RHEL7:<br>
>> jlabl5<br>
>> <br>
>> Using cue username/password, you should be able to tunnel from lcls* back <br>
>> out through one of those. I don't have an example, so please reply with <br>
>> one if it works for you.<br>
>> <br>
>> Wesley<br>
>> _______________________________________________<br>
>> Lerftest-ctrls mailing list<br>
>> Lerftest-ctrls@jlab.org<br>
>> <a href="https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls" id="LPlnk392673" class="OWAAutoLink" previewremoved="true">
https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls</a><br>
>> <br>
>> _______________________________________________<br>
>> Mailing List: Lerftest-ctrls@jlab.org<br>
>> List Info: <a href="https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls" id="LPlnk179808" class="OWAAutoLink" previewremoved="true">
https://mailman.jlab.org/mailman/listinfo/lerftest-ctrls</a><br>
>> Wiki: <a href="https://wiki.jlab.org/lerf/index.php/Network" id="LPlnk862519" class="OWAAutoLink" previewremoved="true">
https://wiki.jlab.org/lerf/index.php/Network</a><br>
><br>
> -- <br>
> Bruce Hill<br>
> Member Technical Staff<br>
> SLAC National Accelerator Lab<br>
> 2575 Sand Hill Road M/S 10<br>
> Menlo Park, CA 94025<br>
></div>
</span></font></div>
</div>
</div>
</body>
</html>