SSH disable IPv6
Last update
2018-07-25
2018-07-25
« — »
Add this line in /etc/ssh/ssh_config
or ~/.ssh/config
:
1 | AddressFamily inet |
alternatively you can use the -4
command line switch.
You can set these options on command line too with the -o
switch, eg: ssh -o AddressFamily=inet
.