Home · Latest · Trends  /  general
0

Force ipv4 or ipv6 on ssh connection

rated 0 times [  0] [ 0]  / comments: 0 / hits: 135  / 6 months ago, fri, may 11, 2018, 11:04:53
If you're troubleshooting a connection and want to force either ipv4 or ipv6 over an ssh connection, you can simply use -4 or -6 flags...
# Forcing ipv4
ssh -4 rowty.net

#Forcing ipv6
ssh -6 rowty.net
More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 117
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017