#! /bin/sh set -e # /etc/init.d/ssh: start and stop the OpenBSD “secure shell(tm)” daemon test -x /usr/local/openssh/sbin/sshd || exit 0 ( /usr/local/openssh/sbin/sshd -\? 2>&1 | grep -q OpenSSH ) 2>/dev/null || exit 0 if test -f /etc/default/ssh; then . /etc/default/ssh fi check_for_no_start() { # forget it if we’re trying to start, and /etc/ssh/sshd_not_to_be_run exists if [ -e /etc/ssh/sshd_not
![OpenSSH の起動](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)