dockerfiles/nasp-jumpserver/startup.sh

8 lines
97 B
Bash
Raw Normal View History

2023-05-04 14:17:03 +08:00
#!/bin/bash
set -e
2023-05-04 15:10:29 +08:00
test -f /etc/ssh/ssh_host_rsa_key || ssh-keygen -A
2023-05-04 14:17:03 +08:00
crond
2023-05-04 15:10:29 +08:00
/usr/sbin/sshd
bash