dockerfiles/nasp-ubuntu/startup.sh

6 lines
216 B
Bash
Raw Normal View History

2023-04-29 18:45:26 +08:00
#!/bin/bash
set -e
/etc/init.d/ssh start || echo "Failed to start sshd. Maybe the port is already in use, and please check your sshd_config. This is not an error if it's the first time you run this container."
bash