mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 10:53:01 +02:00
Use user-defined hostname for SSH hostname
This commit is contained in:
parent
3720c5eb1f
commit
2a668f2b0e
2 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ congrats:
|
|||
ca_key_pass: |
|
||||
"# The CA key password is {{ CA_password|default(omit) }} #"
|
||||
ssh_access: |
|
||||
"# Shell access: ssh -F configs/{{ ansible_ssh_host|default(omit) }}/ssh_config algo #"
|
||||
"# Shell access: ssh -F configs/{{ ansible_ssh_host|default(omit) }}/ssh_config {{ algo_server_name }} #"
|
||||
|
||||
SSH_keys:
|
||||
comment: algo@ssh
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
dest: "configs/{{ IP_subject_alt_name }}/ssh_config"
|
||||
mode: "0600"
|
||||
content: |
|
||||
Host {{ IP_subject_alt_name }} algo
|
||||
Host {{ IP_subject_alt_name }} {{ algo_server_name }}
|
||||
HostName {{ IP_subject_alt_name }}
|
||||
User {{ ansible_ssh_user }}
|
||||
Port {{ ansible_ssh_port }}
|
||||
|
|
Loading…
Add table
Reference in a new issue