Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Secure Shell

Thread Tools Display Modes
Old 10-14-2018, 11:03 PM
mdella's Avatar
mdella mdella is offline
Registered User
Join Date: Mar 2004
Location: Scotts Valley, CA
Posts: 41
Send a message via ICQ to mdella Send a message via Skype™ to mdella
Forcing an IPv4 or IPv6 connection using SecureCRT

So I've been doing a tremendous amount of work in areas where IPv4 address space has been depleted. As such I've started converting many of the US resources I manage to be "dual/stack". Unfortunately in do so, many of the DNS records start having "A" and "AAAA" records for the same name.

There are times when IPv4 or IPv6 stacks are broken between myself and the destination where I want to force the connection to use one protocol over the other. With "ssh" you use the "-4" or "-6" options to force ssh to use one or the other protocol. I have been unable to find any service similar on SecureCRT. This has led me to having to log into a third party machine, do a dig for the IPv4 address, then temporarily replace the machine name on SecureCRT with a hard coded IP address until I can fix the problem or work around it. Often I'm finding that I'm not moving back to using DNS (which with AWS and virtual machines constantly changing their public IP addresses) which is problematic in many ways.

Is it possible to add a checkbox that says "use IPv4" or "use IPv6" or "prefer IPv4 over IPv6" if the other two boxes are checked? (total of three check boxes I suppose). I'd assume the default configuration for any houst would have the first two check boxes checked and the third not checked. This way I can go in and change things as I go.

Marcos Della
Distinguished Technologist
HP CWP, Hewlett-Packard Inc.

PGP Fingerprint: BDC7 AFFD E94F FA09 C839 9153 F5FF E128 3094 2B9E
Key ID: 0x30942B9E
Reply With Quote
Old 10-15-2018, 08:46 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,350
Hi Marcos,

I have added this thread to the following feature requests in our product enhancement database:
  • Try IPv4 if IPv6 timeout causes connection to fail
  • Option to set which IP type to use when both IPv4 and IPv6 are available
Should a future release of SecureCRT include either feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include "Feature Request - Forum Thread #13289" in the subject line or use this form from the support page of our website.

As a note, Microsoft provides a fairly easy method to accomplish this preference switch by way of a registry modification as explained in this tip.

VanDyke Software
Technical Support
(505) 332-5730

Last edited by bgagnon; 10-15-2018 at 08:49 AM. Reason: Add MS info
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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 09:08 AM.