<div dir="ltr"><div class="gmail_extra">Connect->Fetch to download the "windows to *@anl" or "windows to *@ornl" configs to see how I set it up there. You'll find that::</div><div class="gmail_extra"><br></div><div class="gmail_extra">xterm -hold -e ssh -R s_port:localhost:c_port user@host /remote/machines/path/to/launch.sh<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">is replaced with </div><div class="gmail_extra"><br></div><div class="gmail_extra">/C start cmd.exe "C:\Program Files (x86)\PuTTY\plink.exe" -ssh host -R s_port:localhost:c_port -l user /remote/machines/path/to/launch.sh</div><div class="gmail_extra"><br></div><div class="gmail_extra">start is more or less like "&" on linux</div><div class="gmail_extra">cmd.exe is like xterm</div><div class="gmail_extra">plink is like ssh</div><div class="gmail_extra"><br></div><div class="gmail_extra">Andy recently slipped in kerberos without any difficulty so I know that can work too.</div><div class="gmail_extra"><br></div><div class="gmail_extra">As I recall on mac and linux the terminal sticks around until you exit the paraview client and if you kill it beforehand the connection dies. On windows the terminal sticks around even after paraview client dies so you have to manually kill it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">My preference is to work out the licensing issues and package libssh within ParaView and replace the terminal call with a suitably secure qt dialog. Then it would all be standalone.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 21, 2016 7:44 PM, "Scott, W Alan" <<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Sounds good. We have an acceptable Mac solution.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Utkarsh? Windows?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Alan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-left:0.5in"><b>From:</b> Moreland, Kenneth <br>
<b>Sent:</b> Wednesday, September 21, 2016 5:42 PM<br>
<b>To:</b> Scott, W Alan <<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>>; <a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.o<wbr>rg</a><br>
<b>Cc:</b> Patchett, John M. (LANL) <<a href="mailto:patchett@lanl.gov" target="_blank">patchett@lanl.gov</a>>; Angelini, Richard C USA CIV (US) (<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>) <<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>>; Cone, Giovanni Antonio (LANL) <<a href="mailto:conega@lanl.gov" target="_blank">conega@lanl.gov</a>><br>
<b>Subject:</b> RE: [Paraview-developers] xterm -e ssh for windows and mac<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)">All in all, having the terminal stick around seems like a minor inconvenience. Plus if it bothers a user they can change the settings to close the terminal windows automatically (<a href="http://superuser.com/questions/16470/how-can-i-make-the-terminal-window-close-automatically-on-os-x" target="_blank">http://superuser.com/question<wbr>s/16470/how-can-i-make-the-ter<wbr>minal-window-close-automatical<wbr>ly-on-os-x</a>).<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)">-Ken<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-left:0.5in"><b>From:</b> Scott, W Alan <br>
<b>Sent:</b> Wednesday, September 21, 2016 4:41 PM<br>
<b>To:</b> Moreland, Kenneth <<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>>;
<a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.o<wbr>rg</a><br>
<b>Cc:</b> Patchett, John M. (LANL) <<a href="mailto:patchett@lanl.gov" target="_blank">patchett@lanl.gov</a>>; Angelini, Richard C USA CIV (US) (<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>) <<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>>;
Cone, Giovanni Antonio (LANL) <<a href="mailto:conega@lanl.gov" target="_blank">conega@lanl.gov</a>><br>
<b>Subject:</b> RE: [Paraview-developers] xterm -e ssh for windows and mac<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)">I haven’t tried Putty, but that is a good idea. Even if we don’t include Putty with the binaries, we could at least document how to get it and add it into the ParaView tree.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)">Yes, Terminal works for Mac. The one thing I don’t like about it is that it is impossible to close the terminal automagically when you are done. The user has to manually close it.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)">Alan<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-left:1in"><b>From:</b> Moreland, Kenneth <br>
<b>Sent:</b> Wednesday, September 21, 2016 4:29 PM<br>
<b>To:</b> Scott, W Alan <<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>>;
<a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.o<wbr>rg</a><br>
<b>Cc:</b> Patchett, John M. (LANL) <<a href="mailto:patchett@lanl.gov" target="_blank">patchett@lanl.gov</a>>; Angelini, Richard C USA CIV (US) (<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>) <<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>>;
Cone, Giovanni Antonio (LANL) <<a href="mailto:conega@lanl.gov" target="_blank">conega@lanl.gov</a>><br>
<b>Subject:</b> RE: [Paraview-developers] xterm -e ssh for windows and mac<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)">Here are a couple of simple solutions that might be easier than implement our own ssh client in ParaView.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)">For Windows: Consider putty (<a href="http://www.putty.org/" target="_blank">http://www.putty.org/</a>). It is a small (and I believe reasonably well maintained) ssh client for Windows. It opens its
own terminal window, so entering username/password is not a concern. It could be distributed with binaries, although I would consult a lawyer before exporting it outside the U.S.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)">For Mac: Mac comes with ssh. It also comes with the “Termial” program that allows you to run programs and interact with standard input and output with X11 running. The trick is just
to run ssh from within the Terminal program. You should be able to do that by creating a shell script with the extension “.command” that calls ssh how you want it. Then make the script executable (chmod a+x …) and invoke it with the open command (which also
comes with Mac OS).<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)">-Ken<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1in"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-left:1in"><b>From:</b> Paraview-developers [<a href="mailto:paraview-developers-bounces@paraview.org" target="_blank">mailto:paraview-developers-bo<wbr>unces@paraview.org</a>]
<b>On Behalf Of </b>Scott, W Alan<br>
<b>Sent:</b> Wednesday, September 21, 2016 3:25 PM<br>
<b>To:</b> <a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.o<wbr>rg</a><br>
<b>Cc:</b> Patchett, John M. (LANL) <<a href="mailto:patchett@lanl.gov" target="_blank">patchett@lanl.gov</a>>; Angelini, Richard C USA CIV (US) (<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>) <<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.m<wbr>il</a>>;
Cone, Giovanni Antonio (LANL) <<a href="mailto:conega@lanl.gov" target="_blank">conega@lanl.gov</a>><br>
<b>Subject:</b> [EXTERNAL] [Paraview-developers] xterm -e ssh for windows and mac<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">As I mentioned at our Sandia/ LANL/Kitware quarterly, we need some solution in order to allow users to connect Windows and OSX ParaView to pvserver running on a cluster. It needs to be better than our current
solution of arm waving and ignoring the issue. On Linux, this is done with an xterm and ssh. Currently, Sandia has a custom solution (that is out of date and hard to build). I would rather have a common solution, and the global user community needs a solution.
<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">To start the discussion, I see one of two paths we can take:<u></u><u></u></p>
<p style="margin-left:1.5in">
<u></u><span style="font-family:symbol"><span>·<span style="font-style:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'times new roman'">
</span></span></span><u></u>Kitware provide a solution built into ParaView.<u></u><u></u></p>
<p style="margin-left:1.5in">
<u></u><span style="font-family:symbol"><span>·<span style="font-style:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'times new roman'">
</span></span></span><u></u>Kitware provide detailed instructions on the Wiki for users to build this themselves.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">Where do we go from here?<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">Alan<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">p.s. – I think I included everyone needed for the discussion. If I missed anyone, feel free to add them.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">------------------------------<wbr>--------------------------<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in">W. Alan Scott<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in">ParaView Support Manager<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:1in">SAIC<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in">Sandia National Laboratories, MS 0822<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in">Org 9326 - Building 880 A1-K<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><a href="tel:%28505%29%20284-0932" value="+15052840932" target="_blank">(505) 284-0932</a> FAX <a href="tel:%28505%29%20284-5619" value="+15052845619" target="_blank">(505) 284-5619</a><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in">------------------------------<wbr>---------------------------<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1in"><u></u> <u></u></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview-develope<wbr>rs</a><br>
<br></blockquote></div></div>
</div>