#! /bin/sh
# Copyright 2017 Cumulus Networks, Inc.  All rights reserved

# Helper script for stopssh.service
# systemd does not terminate ssh sessions during reboot, and
# we want them to terminate cleanly, rather than fail after TCP times out.

PATH=/bin/:/usr/bin:$PATH

killall -q sshd
sleep 1
killall -q -KILL sshd
