0
0
mirror of https://github.com/saltstack-formulas/openssh-formula.git synced 2024-11-28 05:38:20 +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 Add openssh files 2013-06-13 11:16:18 -06:00
fire_banner Add openssh files 2013-06-13 11:16:18 -06:00
ssh_config Add support for Host definitions in ssh_config 2016-01-02 18:12:55 -05:00
ssh_known_hosts Stop messing up the first line in ssh_known_hosts 2015-06-25 14:28:26 +02:00
sshd_config Added configuration options for ssh_config 2015-10-01 15:21:16 +00:00