0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-12-01 00:25:31 +01:00
openssh-formula/openssh/files
ketzacoatl 143451eb19 Add support for Host definitions in ssh_config
This gives us the ability to define system-wide definitions for specific Hosts, and their options.

For example, with this in pillar:

```
# this is the place for host-wide SSH config
ssh_config:
  ...
  Hosts:
    # this simplifies cloning with custom params
    # eg: git clone my-git:foo/bar
    my-git:
      User: git
      HostName: git.example.com
      Port: 2222
```

This would add a section in `/etc/ssh/ssh_config`:

```
Host my-git
    User git
    HostName git.example.com
    Port 2222
```
2016-01-02 18:12:55 -05:00
..
banner
fire_banner
ssh_config Add support for Host definitions in ssh_config 2016-01-02 18:12:55 -05:00
ssh_known_hosts
sshd_config Added configuration options for ssh_config 2015-10-01 15:21:16 +00:00