You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host pi(1|2)
Port 22
User pi
# HostName: %h# Inherits: [home-net]# Gateways: [direct, h]
User is present in the config however when I try to ssh pi1 it still prompts for my current user's password. I also tried making the host be similar to the example config with `"pi[1-2]" but it had the same result when ssh-ing into a pi. It works with pi but that expands to match too many hosts.
The text was updated successfully, but these errors were encountered:
You have a similar issue than #121, I'm trying a big refactor to address what I call "advanced regex" with #122.
For now, I suggest you to replace your current regex with a basic one: pi(1|2) -> pi* or do not use regex but templates instead if you only have two hosts
I very well may be doing something wrong (please correct my usage if I am). 😁
I am trying to expand multiple raspberry pi hosts I have on my network with a assh.yml configuration with the following.
This generates the following in my .ssh/config
User is present in the config however when I try to
ssh pi1
it still prompts for my current user's password. I also tried making the host be similar to the example config with `"pi[1-2]" but it had the same result when ssh-ing into a pi. It works with pi but that expands to match too many hosts.The text was updated successfully, but these errors were encountered: