bedca5b35e
* install openssh client in keystone-fernet container * install rsync in keystone-ssh container * fix syntax issue in ssh configuration * copy ssh configuration into keystone-fernet container * copy id_rsa.pub into keystone-ssh container * copy id_rsa into keystone-fernet container * use full path to ssh binary in used scripts * add missing newlines at EOF * when using type source set /var/lib/keystone as home directory for the user keystone Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: Id6b41030056a69f6516a054beb2fc0e08226e876 Closes-bug: #1623013
18 lines
470 B
Django/Jinja
18 lines
470 B
Django/Jinja
{
|
|
"command": "/usr/sbin/sshd -D",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/sshd_config",
|
|
"dest": "/etc/ssh/sshd_config",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/id_rsa.pub",
|
|
"dest": "/var/lib/keystone/.ssh/authorized_keys",
|
|
"owner": "keystone",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|