dockerfiles/nasp-jumpserver/startup.sh

9 lines
149 B
Bash
Executable File

#!/bin/bash
set -e
echo "nameserver 192.168.16.118" > /etc/resolv.conf
test -f /etc/ssh/ssh_host_rsa_key || ssh-keygen -A
crond
/usr/sbin/sshd
bash