#!/usr/bin/sh
# Copyright © 2018 TermySequence LLC
#
# SPDX-License-Identifier: GPL-2.0-only

if ([ "$1" = "--help" ] || [ $# -lt 1 ]); then
    echo "Usage: termy-ssh [ssh options] [user@]host" 1>&2
    exit 1
fi
if [ "$1" = "--version" ]; then
    echo "termy-ssh 1.1.4"
    exit
fi

exec termy-connect -p -- ssh -qT "$@" termy-server
