cancel
Showing results for 
Search instead for 
Did you mean: 

Ubunut SSH/telnet applet: TAB key results in losing focus from current window

jkopko_
Occasional Contributor

Ubunut SSH/telnet applet: TAB key results in losing focus from current window

I'm logging into IVE OS 6.4R1, and attempting to SSH or Telnet to any client. I'm able to login and everything works, except pressing the TAB key. Doing so causes me mto lose focus on the current window, and I have to click on it to gain focus again. This is especially annoying when working with Cisco or Linux where the tab is a necessary tool.

Anybody else experience this behavior and/or have a fix? I've seen it in release notes for IVE OS 5.4R4, and 6.4R1 but only for IE7. I'm using Ubunty jaunty with Firefox 3.0.14, Sun Java 6.

2 REPLIES 2
simpfeld_
New Contributor

Re: Ubunut SSH/telnet applet: TAB key results in losing focus from current window

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.

cbarcellos_
Regular Contributor

Re: Ubunut SSH/telnet applet: TAB key results in losing focus from current window

Nice work! Thanks for sharing.