• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Force SSH over IPv4 or IPv6

July 29, 2012 by Michele Neylon Leave a Comment

Vint Cerf IPv6 poster
Vint Cerf IPv6 poster

I've got an IPv6 connection at home via Sixxs which works pretty well.

Of course some of the time when I need to access certain machines from outside the office I'll run into issues ie. I can get in over IPv4, but not over IPv6.

Other times the IPv6 connection from wherever I happen to be might not be as stable as the IPv4 one.

So being able to force an SSH connection over IPv4 (or over IPv6) is handy (and this is more for my own reference than anyone else's!):

ssh -4 user@hostname

Will force the connection over IPv4, while:

ssh -6 user@hostname

will force it over IPv6

Related Posts:

  • OSX Essential Apps - 2018 EditionOSX Essential Apps - 2018 Edition
  • Lazy Bad Marketing on SteroidsLazy Bad Marketing on Steroids
  • Adding More Lighting to my "Smart" HomeAdding More Lighting to my "Smart" Home
  • Debugging a Broken WebsiteDebugging a Broken Website
  • Painting all the ThingsPainting all the Things
  • Updating Your DPD Parcel Wizard Delivery AddressUpdating Your DPD Parcel Wizard Delivery Address

Filed Under: ipv6, Linux Tagged With: IP, IP address, ipv4, ipv6, Protocols

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Previous Post: « Salad is ready
Next Post: New milk cooler! »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Primary Sidebar

dotblog founder

Most Recent Posts

Which Cookbooks?

How Many Books Should I Read?

Some Goals and Promises to Myself

Planning to be Evil?

Happy Christmas 2020

Archives

  • Instagram
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Privacy

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2021 · Magazine Pro on Genesis Framework · WordPress · Log in