On 7 February 2017 at 11:24, Johannes Kastl <[email protected]> wrote:
> On 07.02.17 10:38 Dick Visser wrote:
>
>> # Test host
>> Host imapsync
>>   Hostname 2001:610:148:f00d:20c:29ff:fe14:ccfe
>
>> Is there another way of specifying a literal IPv6 address.
>
> I thought ssh needed IPv6 addresses in square brackets (to avoid
> confusion with ports added as suffix)?
>
> Host imapsync
>    Hostname [2001:610:148:f00d:20c:29ff:fe14:ccfe]

Nope that doesn't work, neither in .ss/config nor on the command line.
You need the Port option, or -p on the command line.

The bracket notation isn't used by OpenSSH.

I know that for web browsers the brackets are mandatory when using
IPv6 literals.

-- 
Dick Visser
Sr. System & Network Engineer
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEQQDNnZJiysMGN2zk2%2BZoY7gK81aa_t7_5u39DTuf5RDiT7BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to