blob: f852e8d5b1d5d18e78ba0a9bcfeec76940d3e28b (
plain)
1
2
3
4
5
6
7
8
9
|
[Unit]
Description=tmate rsa key generation
ConditionPathExists=|!/etc/tmate-ssh-server/ssh_host_rsa_key
ConditionPathExists=|!/etc/tmate-ssh-server/ssh_host_rsa_key.pub
[Service]
ExecStart=/usr/bin/ssh-keygen -t rsa -f /etc/tmate-ssh-server/ssh_host_rsa_key -N ''
Type=oneshot
RemainAfterExit=yes
|