VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
HTML integration (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: HTML integration
#188
HTML integration 17 Years, 10 Months ago  
I was quite suprised that a program so complete was lacking such a bug...
I'm trying a lots of client actually and yours is one of the best i've see BUT when i tried to open a link on a html page to a telnet session ( telnet:(URL OR IP) telnet:192.168.0.254 for exemple) it doesn't worked and u know why? because absolute telnet try to connect to the url/ip "telnet:192.168.0.254" and not "192.168.0.254" !!! Please tell me this will be corrected in the next version **;
This is the only thing who stop me from registering it...

[ February 07, 2003, 10:01 AM: Message edited by: Brian T. Pence ]
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#189
Re: HTML integration 17 Years, 10 Months ago  
hmmm... I use it this way every day - I have a map of the network switches and other equipment on the web and from IE 6 I am able to click on a switch on the map (linking to telnet://xxx.yyy.zzz.www) and AbsoluteTelnet opens the link just fine... Are you sure the URL is telnet://?
/msa
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#190
Re: HTML integration 17 Years, 10 Months ago  
telnet:192.168.0.254 telnet://xxx.yyy.zzz.wwwI would say in MUSUL's case the "//" is missing -- wrong type of link.
Dmitry (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#191
Re: HTML integration 17 Years, 10 Months ago  
Agreed. However, I don't remember how I associated AbsoluteTelnet with the "telnet://" URLs...
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#192
Re: HTML integration 17 Years, 10 Months ago  
You're both right. The correct form of the URL contains the forward slashes. Strangely, IE will still fire up the telnet client even if the forward slashes do not exists. Hmmmmm....

Absolute, of course, looks for the slashes to delimit the beginning of the IP address, optionally followed by a colon and the port number. So, when the slashes do not exist, it does not recognize it as a URL and the whole thing is interpreted as the hostname.

To make AbsoluteTelnet the default telnet client, check the 'Make AbsoluteTelnet the default telnet client' flag under Options->Properties->Global. With this flag, Absolute will check *AT EACH STARTUP* to make sure it is still set as the default telnet client. When enabled, AbsoluteTelnet will make itself the default client and optionally prompt you for verification.
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#193
Re: HTML integration 17 Years, 10 Months ago  
The fact it is the default telnet client don't change a thing to the fact than url like telnet:adresses don't work...
Isn't there a mean to arrange that ? other client works fine with the two forms of urls...
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#194
Re: HTML integration 17 Years, 10 Months ago  
I could probably make it work, but it would be a *hack* and not according to specs. What other client works this way??? On what pages do you see these links in this form?
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#195
Re: HTML integration 17 Years, 10 Months ago  
From RFC1738:

3.8. TELNET

The Telnet URL scheme is used to designate interactive services that
may be accessed by the Telnet protocol.

A telnet URL takes the form:

telnet://<user>:<password>@<host>:<port>/

as specified in Section 3.1. The final "/" character may be omitted.
If :<port> is omitted, the port defaults to 23. The :<password> can
be omitted, as well as the whole <user>:<password> part.

This URL does not designate a data object, but rather an interactive
service. Remote interactive services vary widely in the means by
which they allow remote logins; in practice, the <user> and
<password> supplied are advisory only: clients accessing a telnet URL
merely advise the user of the suggested username and password.

BTW, AbsoluteTelnet does *not* support the username:password part of the url and it is rarely seen in practice, as it would be considered highly unsafe to do so. Perhaps, if I ever add an automatic login for telnet, I'd add this part of the telnet URL.
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#196
Re: HTML integration 17 Years, 9 Months ago  
The fact that MS's telnet "client" does some magic rewriting of the URL does not imply that AT should violate the RFC.
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#197
Re: HTML integration 17 Years, 9 Months ago  
Who talked about hyperterminal ?
Terminal client like Crt from vandyke softwares can use adress like those and it's not the only one who do it...
i don't think that it is a violation of the RFC since rfc constantly evolve but if u consider it is not important no problem don't get mad for this ^^
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#198
Re: HTML integration 17 Years, 9 Months ago  
Nobody is mad, I was just curious what clients were out there that actually implement this. Also, I'm curious where these URLs exist because my first choice would be to notify the website operators and have them change their links.

See, the problem with reprogramming the application to allow things that are out of spec is that someone who is coding a new web page might write the URL as telnet:myhost and think that just because it seems to work that it must be right!! By allowing the incorrect syntax, you make your web page compatible only with software that is out of spec! Obviously, this web page owner is a VanDyke user! ;-)
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#199
Re: HTML integration 17 Years, 9 Months ago  
I understand that implementing the user:password for telnet may be hard (different banners, prompts and so on), but does it exist a standard for connecting with SSH? (like ssh://user:pwd@host) Since SSH handles the logins locally and passes on the information to the server (like AT does with its own prompt) it would be (theoretically) possible to get this to work. Handling private/public keys would be another issue though...
P.S I'm not mad either... :) D.S

[ February 11, 2003, 02:38 AM: Message edited by: Mattias Sandstrom ]
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#200
Re: HTML integration 17 Years, 9 Months ago  
Just an observation: IE 6.0 rewrites URL:s entered "wrong" when it uses them self: "http:host" -> "host", "ftp:host" -> "ftp://host" etc, and then uses the URL. However, passing it on to other (external) applications, it does not rewrite the URLs.
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#201
Re: HTML integration 17 Years, 9 Months ago  
Mattias u are right there is a mean to make IE6 handle adress like ssh://log:pass@ip
simpli make a reg file with the following content : (the 0000000000000 term can be anything u want of the same lenght)

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftAdvanced INF SetupIE40.AssocRegBackup.map]
"0000000000000000"=",1,HKCR,ssh,"

[HKEY_CLASSES_ROOTtelnet]
@="URL : Protocole ssh"
"EditFlags"=dword:00000002
"URL Protocol"=""

[HKEY_CLASSES_ROOTsshDefaultIcon]
@=""

[HKEY_CLASSES_ROOTsshshell]

[HKEY_CLASSES_ROOTsshshellopen]

[HKEY_CLASSES_ROOTsshshellopencommand]
@=""C:\UTILITAIRES\WEB LAN\OUTILS\CRT\SecureCRT.EXE" %1"

[HKEY_CURRENT_USERSoftwareClassesssh]
@="URL : Protocole ssh"
"EditFlags"=dword:00000002
"URL Protocol"=""

[HKEY_CURRENT_USERSoftwareClassessshshell]

[HKEY_CURRENT_USERSoftwareClassessshshellopen]

[HKEY_CURRENT_USERSoftwareClassessshshellopencommand]
@=""C:\UTILITAIRES\WEB LAN\OUTILS\CRT\SecureCRT.EXE" %1"

[HKEY_USERSS-1-5-21-1454471165-1677128483-1060284298-500_Classesssh]
@="URL : Protocole ssh"
"EditFlags"=dword:00000002
"URL Protocol"=""

[HKEY_USERSS-1-5-21-1454471165-1677128483-1060284298-500_Classessshshell]

[HKEY_USERSS-1-5-21-1454471165-1677128483-1060284298-500_Classessshshellopen]

[HKEY_USERSS-1-5-21-1454471165-1677128483-1060284298-500_Classessshshellopencommand]
@=""C:\UTILITAIRES\WEB LAN\OUTILS\CRT\SecureCRT.EXE" %1"

(note than u can make the same thing for all protocol supported by AT
IMPORTANT DON'T FORGET TO MODIFY THE PATH OF THE APPLICATION
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#202
Re: HTML integration 17 Years, 9 Months ago  
MUSUL,
thanks for the tip, will try it.
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#203
Re: HTML integration 17 Years, 9 Months ago  
NP but since i use a trial of crt i dont know if AT work with this...
Don't be upset if i don't use AT i find it even better than crt but i'm just waiting for a new version of AT wich will work with the "false" type of adress ^^ (musul is a persistant dude)
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#204
Re: HTML integration 17 Years, 9 Months ago  
Seems to work, but you have a typeo, plus I don't think you need any of the hkey_local_user or hkey_users stuff. Plus, AbsoluteTelnet would have to be written to understand these forms of urls, which it currently does not.

Still, I'd warn against putting links of this type on a web page. Nobodies browser will work with it. Even if I added these keys to the AbsoluteTelnet install, it would only work with IE.

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftAdvanced INF SetupIE40.AssocRegBackup.map]
"0000000000000000"=",1,HKCR,ssh,"

[HKEY_CLASSES_ROOTtelnet] <--- should be ssh not telnet
@="URL : Protocole ssh"
"EditFlags"=dword:00000002
"URL Protocol"=""

[HKEY_CLASSES_ROOTsshDefaultIcon]
@=""

[HKEY_CLASSES_ROOTsshshell]

[HKEY_CLASSES_ROOTsshshellopen]

[HKEY_CLASSES_ROOTsshshellopencommand]
@=""C:\UTILITAIRES\WEB LAN\OUTILS\CRT\SecureCRT.EXE" %1"
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#205
Re: HTML integration 17 Years, 9 Months ago  
Hey dudes,

The next version of the software will recognize the telnet URLs without the slashes. It's against my better judgement, but it doesn't seem to break anything. Additionally, I've added code to parse ssh:// type urls (including usernames and passwords for auto-login). However, I'll not go so far as to add the registry settings to make IE recognize them until I can do a little more research.
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#206
Re: HTML integration 17 Years, 9 Months ago  
victoryyyyyyyyyy :)
I'm impatient to test the new version ^^
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#207
Re: HTML integration 17 Years, 9 Months ago  
Brian,
yet another happy user to add to your list it seems. :)
msa (User)
Expert Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#208
Re: HTML integration 17 Years, 9 Months ago  
lol ^^
Hum i think i can make those adress work also for others browser tell me if u want me to search for the key to ad (destroying my registry is fun :) )
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#209
Re: HTML integration 17 Years, 9 Months ago  
Sure!

It would at least be good to archive that information here, even if I don't add it to the software.

Thanks!
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#210
Re: HTML integration 17 Years, 9 Months ago  
Errrr ^^;
apparently it seems there is no need of further search.
The manipulation work enable netscape and others mozilla client like phoenix to use this form of url.
I think this is because this affect the entire windows browser module so the reg that i've give is universal ^^; (though i didn't try it with opera wich i suppose would also work)

another thing is taht i'vent success o make AT work with it despite that crt works with no problem...i wonder why ? maybe crt read the type of protocol used in the registry and not AT...
hum i will try to see if there is a mean to make ssh1 and ssh2 adress

Did it worked with u ?

[ February 14, 2003, 10:34 AM: Message edited by: MUSUL ]
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#211
Re: HTML integration 17 Years, 9 Months ago  
Errr apparently it is the same problem taht with telnet , AT try to connect to ssh://192.168.0.3 a not 192.168.0.3 ^^; pass this problem affectively it seems to work but u are the only one who can juge it since who the one who got the corrected version ^^
MUSUL (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#212
Re: HTML integration 17 Years, 9 Months ago  
The reason it's not working is that I haven't even posted the beta version yet. The first beta that will contain the modifications will be RC11. You most likely still have RC10.

I'll post it here when it's done:

http://www.celestialsoftware.net/telnet/beta_software.html
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#213
Re: HTML integration 17 Years, 9 Months ago  
MUSUL,

I've added URL syntax decoding for urls similar to the telnet URL syntax. Prefixes that are now recognized include "ssh1://" and "ssh2://" for ssh1 and ssh2 in addition to "ssh://" which is an alias for the ssh2 form.

The full URL syntax including username, password, hostname, and port number is supported, giving you the ability to implement auto-login through SSH from a web link (assuming your registry changes have been made).

Get it here:

http://www.celestialsoftware.net/telnet/beta_software.html

Enjoy!!!
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
Go to top