Loading search index…
No recent searches
No results for "Query here"
Applies the given prefix to all the hosts in the group.
--- web_servers: Prefix: web- Config: Port: 2201 IdentityFile: ~/.ssh/digital_ocean Hosts: do-1: projects-do-1.example.com do-2: projects-do-2.example.com aws: HostName: projects-aws.example.com IdentityFile: ~/.ssh/aws
Will produce this config:
# web_servers Host web-do-1 Port 2201 IdentityFile ~/.ssh/digital_ocean HostName projects-do-1.example.com Host web-do-2 Port 2201 IdentityFile ~/.ssh/digital_ocean HostName projects-do-2.example.com Host web-aws Port 2201 IdentityFile ~/.ssh/aws HostName projects-aws.example.com Host *