I found this thread as I have the same problem. I basically came to the conclusion that the Juniper SSH client has no clever way around this. So I added a custom Java applet under the "Terminal Service Resource Profiles" to a client. I added into this a JavaSSH client I found (the one I used was JTA - Telnet/SSH from http://javassh.org/space/Download ). I downloaded jta26.jar and uploaded to the Juniper SSL using the "Edit List...", and I called it JavaSSH. I modified the HTML to: <html> <head> <title>JavaSSH Applet</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <!-- Notes: 1) << CODEBASE >> is a system value that will get replaced at the time the applet is launched. Please do not modify this value. 2) Please modify the remaining values as needed. 3) Please make sure all attribute names/values are enclosed in double quotes. --> <body> <applet code="de.mud.jta.Applet" codebase="<< CODEBASE >>" archive="jta26.jar" width="590" height="360" name="JavaSSH" align="top"> <param name="plugins" value="Status,Socket,SSH,Terminal"> <param name="Socket.port" value="22"> <param name="Socket.host" value="<<HOST>>"> <param name="Applet.detach" value="true"> <param name="codebase" value="<< CODEBASE >>"> <param name="archive" value="jta26.jar"> <param name="cabbase" value=""> <param name="name" value="JavaSSH"> <param name="width" value="590"> <param name="height" value="360"> <param name="align" value="top"> <!-- Please specify additional params here after the comment. <param name="paramname" value="paramvalue"> --> </applet> </body> </html> <html><head><title>JavaSSH Applet</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><!--Notes:1) << CODEBASE >> is a system value that will get replaced at the time the applet is launched. Please do not modify this value.2) Please modify the remaining values as needed.3) Please make sure all attribute names/values are enclosed in double quotes.--><body> <applet code="de.mud.jta.Applet" codebase="<< CODEBASE >>" archive="jta26.jar" width="590" height="360" name="JavaSSH" align="top"> <param name="plugins" value="Status,Socket,SSH,Terminal"> <param name="Socket.port" value="22"> <param name="Socket.host" value="<<HOST>>"> <param name="Applet.detach" value="true"> <param name="codebase" value="<< CODEBASE >>"> <param name="archive" value="jta26.jar"> <param name="cabbase" value=""> <param name="name" value="JavaSSH"> <param name="width" value="590"> <param name="height" value="360"> <param name="align" value="top"> <!-- Please specify additional params here after the comment. <param name="paramname" value="paramvalue"> --> </applet></body></html> This forces this new Java applet to open in it's own window so the tab doesn't have any losing focus effect (the only downside is you are left with the original launch window (i.e. 2 windows for the SSH session), but not a huge problem). Also the <<PORT>> param doesn't seem to work (always passed _3389 regardless of what's put in the config window) so I manually put in 22 in the HTML, but no real hassle.
... View more