What is the ssh_config equivalent to this syntax involving multiple at signs

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 




I tried
 
Host targethost
  User myuser@technicaluser@targethost
  Hostname jumphost

and it worked. Thanks a lot !

Unfortunately this doesn't yet solve my problems with Ansible but this is a different story.
But one problem remains: I have lots of targethosts and I would better write something like "Host *.servers", the asterisk stands for all the targethost1 through targethost9999.
But the targethost has to be part of the User setting. How can I use the wildcard ?

> so with multiple @'s, you're doing the equivalent of
> 
>  ssh jumphost -l "myuser@technicaluser@targethost"
> 
> maybe try something like
> 
> Match Host targethost
>   User myuser@technicaluser@targethost
>   Hostname jumphost

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux