Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2014, 08:43 AM
renep renep is offline
Registered User
 
Join Date: Mar 2006
Location: Amsterdam, the Netherlands
Posts: 56
Default URL handler works for ssh1 and ssh2 url's, not for ssh

I'm managing Linux VPS's in a cloud, and the web interface of the cloud provider has a convenient button tot open an ssh session to a VPS using a link like:
ssh://user@111.222.111.222/
I would like that button to launch SecureCRT.

In the Global options of SecureCRT, category Terminal > Web Browser, I found these two buttons:
  1. SSH2: Make SecureCRT your default SSH2 application
  2. SSH1: Make SecureCRT your default SSH1 application

These buttons work fine for ssh1: and ssh2: url's.

Unfortunately, a plain ssh url without the protocol version number doesn't work. Why is there no button for ssh?

How do I manually create an association with the ssh protocol? What are the registry keys I need to create/edit?

I'm using SecureCRT 7.2.4 on Windows 7.
__________________
René
Reply With Quote
  #2  
Old 06-04-2014, 09:43 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi René,

There is a button for SSH1 and SSH2 since those are the protocols. There is no SSH protocol.

I ran a test creating my own registry key, and it did work. Here is an export of the registry key I created:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ssh]
"URL Protocol"=""

[HKEY_CLASSES_ROOT\ssh\shell]

[HKEY_CLASSES_ROOT\ssh\shell\open]

[HKEY_CLASSES_ROOT\ssh\shell\open\command]
@="\"C:\\Program Files\\VanDyke Software\\SecureCRT\\SecureCRT.exe\" %1"
Does this work for you?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 06-04-2014, 10:14 AM
renep renep is offline
Registered User
 
Join Date: Mar 2006
Location: Amsterdam, the Netherlands
Posts: 56
Quote:
Originally Posted by rtb View Post
There is a button for SSH1 and SSH2 since those are the protocols. There is no SSH protocol.
If I'm not mistaken, the "ssh" in the URI is a scheme. The schemes are registered by IANA as per RFC 3986 and
RFC 4395. The IANA URI scheme registry currently contains 'ssh' and not 'ssh1' or 'ssh2'.

So according to these Internet standards, SecureCRT supports two unregistered URI schemes for SSH, but not the registered scheme. IMO that's a bug.

Quote:
Here is an export of the registry key I created:
Okay, that works. Thank you.

For other people who may be reading this in the archive, on my system the location of SecureCRT in the open command is:
Code:
"C:\Program Files\VanDyke Software\Clients\SecureCRT.exe" %1
__________________
René
Reply With Quote
  #4  
Old 06-04-2014, 10:27 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Thanks for the feedback René.

I have created a bug report on your behalf. We will post here with any updates.

If you would like to be notified directly, please complete and submit the form at the following location:
Submit Bug Report
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #5  
Old 06-05-2014, 03:40 AM
renep renep is offline
Registered User
 
Join Date: Mar 2006
Location: Amsterdam, the Netherlands
Posts: 56
Okay, thank you.

It's nice magic by the way, to click on a VPS in a web control panel and instantly get a root prompt in SecureCRT using public key authentication.

Many installation programs on Windows offer to make their software the default handler for certain URI schemes or file extensions. I'd expect the SecureCRT installer to do this for the ssh scheme, and the SecureFX installer for sftp.
__________________
René
Reply With Quote
  #6  
Old 06-05-2014, 08:04 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi René,

I have created a feature request to add the ability to set SecureFX as the default SFTP handler as well. We will post to this thread if we add the feature in the future.

If you would like to be notified directly, please complete and submit the form at the following location:
Submit Feature Request
In the meantime, you could use the same concept used for ssh to create a URI/URL handler for sftp. I tested this and it works.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #7  
Old 07-28-2015, 04:57 PM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
The ability to set SecrureCRT as the default SSH handler has been added to a pre-beta version of SecureCRT for Windows. This allows links such as:

ssh://user@111.222.111.222/

to launch SecureCRT. If you would be interested in trying it, please send email to me at Maureen.Jett@vandyke.com.

Maureen
Reply With Quote
  #8  
Old 07-29-2015, 08:54 AM
renep renep is offline
Registered User
 
Join Date: Mar 2006
Location: Amsterdam, the Netherlands
Posts: 56
Quote:
Originally Posted by Maureen View Post
The ability to set SecrureCRT as the default SSH handler has been added to a pre-beta version of SecureCRT for Windows.
Thanks, that's good news.

Quote:
If you would be interested in trying it
I'd like to try it in the public beta.
__________________
René
Reply With Quote
  #9  
Old 07-29-2015, 09:01 AM
Maureen's Avatar
Maureen Maureen is offline
VanDyke Product Director
 
Join Date: Feb 2004
Location: Albuquerque, NM
Posts: 1,612
Quote:
Originally Posted by renep View Post
Thanks, that's good news.



I'd like to try it in the public beta.

The public beta of SecureCRT 7.5 is expected to be available later this year. The exact date hasn't been determined yet.

Maureen
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:32 PM.