Commit Graph

2 Commits

Author SHA1 Message Date
Marty Oehme 645248e83a
ssh: Add host fingerprint matching
Added fingerprint matching to host functionality replacing the old
matching on ip with nc idea.
Functions essentially the same, only that now if another host
randomly/or targeted replaces the original checking target you will
still not try to be connected since the ssh fingerprint will not match.
Should make it a teensy bit more secure.
2022-03-08 09:26:24 +01:00
Marty Oehme c751df31ad
ssh: Add simple ssh configuration module
Added configuration module for ssh client.
Sets some basic settings and sets a general structure for the ssh
folder:

```
.ssh/
  |- config
  |- conf/
  |---|- config.ssh
  |----- hosts.ssh
  |- keys/
  |---|- id_*
  ------ id_*.pub
```

Config only refers to the files situated in `conf/` directory, while any
`hosts.ssh` configuration redirects to the correct keyfiles lying in
`keys/`.
Actual settings can be configured in `config.ssh` and this file is also
committed to versioning, whereas keys and hosts are not.
2021-04-05 15:04:27 +02:00