Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2016, 03:24 AM
realdreams realdreams is offline
Registered User
 
Join Date: Mar 2013
Posts: 29
SecureCRT protocol handler on Linux

Ubuntu 16 with gnome, I am trying to open a securecrt tab when ssh:// or telnet:// link is opened in browser.

Code:
gconftool-2 -s /desktop/gnome/url-handlers/telnet/command '/usr/bin/SecureCRT /T %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/telnet/enabled --type Boolean true
gconftool-2 -s /desktop/gnome/url-handlers/telnet/needs_terminal --type Boolean false
Chrome uses xdg-open

Quote:
$ xdg-open "telnet://1.1.1.1"
gvfs-open: telnet://1.1.1.1: error opening location: The specified location is not supported
But this is not doing anything. I haven't been able to find a solution for SecureCRT on linux.
Reply With Quote
  #2  
Old 08-31-2016, 10:22 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi realdreams,

What browser are you using?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 08-31-2016, 06:21 PM
realdreams realdreams is offline
Registered User
 
Join Date: Mar 2013
Posts: 29
Quote:
Originally Posted by bgagnon View Post
Hi realdreams,

What browser are you using?

Tried both Chrome and Firefox
Reply With Quote
  #4  
Old 09-01-2016, 05:09 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi realdreams,

Thanks for the info. I've found past threads where another agent (MikeD) scoured Firefox forums and tried everything he could think of to get this working on SecureCRT/Linux and was unsuccessful.

That was 5 or more years ago. I did some additional searches and could find no new info that indicates how to configure Firefox to use a default Telnet/SSH handler (successfully, at least). I will continue to search for any info out there regarding both Chrome and Firefox.

Hopefully, if someone in the community has gotten this to work, they will post a solution.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 12-29-2017, 10:47 AM
rana123 rana123 is offline
Registered User
 
Join Date: Dec 2017
Posts: 6
Make SecureCRT for Linux default Telnet handler for xdg-open on browsers?

I'm having almost the similar issue, and would be delighted to hear any workaround!
I'm using latest SecureCRT 8.3.0 on Ubuntu 16.04 LTS Xenial. While doing my Networking Lab practice on EVE-NG's Web GUI (chromium/firefox browser), double clicking a device for telnet console access uses 'xdg-open' to open Ubuntu's default Terminal, rather I would like to get telnet access via SecureCRT. Manual telnet to EVE-NG's devices works fine though! I'm unable to make xdg-open use SecureCRT as default telnet handler for Ubuntu Xenial on chromium/firefox.
Reply With Quote
  #6  
Old 12-31-2017, 09:59 AM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 654
Hi rana123,

It's my understanding that this is something that can be configured inside of EVE-NG.

If we find guide or set of steps to setup SecureCRT on the EVE-NG virtual machine we will be happy to let you know.
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #7  
Old 12-31-2017, 12:54 PM
rana123 rana123 is offline
Registered User
 
Join Date: Dec 2017
Posts: 6
Quote:
Originally Posted by ekoranyi View Post
Hi rana123,

It's my understanding that this is something that can be configured inside of EVE-NG.

If we find guide or set of steps to setup SecureCRT on the EVE-NG virtual machine we will be happy to let you know.
Hi ekoranyi,

Ok, but I have looked around and haven't found any guidelines for the same on their forums. Coz eve-ng's web gui uses the host machine's, Ubuntu in my case, default telnet handler via xdg-open not of the VM. So, after all the search, basically I have narrowed down my question to this, "is there a way that we can change Ubuntu's default telnet handler via xdg-open on any browser to SecureCRT?"
Thanks!
Reply With Quote
  #8  
Old 01-01-2018, 04:42 AM
rana123 rana123 is offline
Registered User
 
Join Date: Dec 2017
Posts: 6
Ok, can you please help me in view of this:
https://github.com/SmartFinn/eve-ng-...tion/issues/19
Thanks
Reply With Quote
  #9  
Old 01-02-2018, 10:23 AM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 654
Hi rana123,

I found some instructions to get Firefox on Ubuntu to prompt you for which application to open SSH/Telnet links with.

1. Open Firefox and type “about:config” in address bar

2. Create a new Boolean preference (right click on an empty space), name it
“network.protocol-handler.expose.telnet”
“network.protocol-handler.expose.ssh”
and set the value “false” and restart the browser. That should be enough for Firefox to let us select an external application to open “telnet://” links.

While testing I would suggest leaving the "Remember my choice for ..." option unchecked.

When prompted you should be able to select SecureCRT, by default it is located at /usr/bin/SecureCRT.

Does using this method provide the behavior you're looking for?
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #10  
Old 01-03-2018, 12:07 AM
rana123 rana123 is offline
Registered User
 
Join Date: Dec 2017
Posts: 6
Thanks ekoranyi.
Yeah, this was exactly what I was looking for...and the workaround did the charm!
Appreciate the help once again!
Reply With Quote
  #11  
Old 01-03-2018, 09:25 AM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 654
Hi rana123,

I'm glad that I could help. Please don't hesitate to reach out if you have any other questions.

Have a great 2018.
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
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 02:45 AM.