diff options
author | EuAndreh <eu@euandre.org> | 2019-06-08 11:43:38 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-08 11:43:38 -0300 |
commit | f054e9dea98bf56c8ea068dc279e99e76a334848 (patch) | |
tree | 116518290093461bcd9655398583e3fb1bd91176 /.gitignore | |
parent | Use nextcloud.${TLD} instead of cloud.${TLD} as CNAME for Nextcloud installation (diff) | |
download | toph-f054e9dea98bf56c8ea068dc279e99e76a334848.tar.gz toph-f054e9dea98bf56c8ea068dc279e99e76a334848.tar.xz |
Generate UserKnownHostsFile dynamically instead of when rotating keys
The previous solution would hardcode the server IP. This way we can change the
server IP address that is hosting everything and keep the SSH keypair.
Previously changing the IP address would require either calling the
=./rotate-ssh-keys.sh= script or manually changing the IP address on the
known-hosts.txt file.
The IP address being duplicated itself was a code smell.
Both SSH keypair and IP address can now be changed independently.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,4 +10,5 @@ /hosts /user-data.sh /scripts/box/create-backup.sh -/scripts/box/restore-backup.sh
\ No newline at end of file +/scripts/box/restore-backup.sh +/generated-known-hosts.txt
\ No newline at end of file |