💾 Archived View for ait.place › dot › bin › crawl.txt captured on 2022-07-16 at 13:48:22.

View Raw

More Information

-=-=-=-=-=-=-

#!/bin/sh

# get ssh key
if [ ! -f ~/.ssh/dcss ]; then
    umask 077
    curl -so ~/.ssh/dcss https://crawl.tildeverse.org/dcss.key
    # suppress a warning about the public key format
    umask 022
    ssh-keygen -f ~/.ssh/dcss -y > ~/.ssh/dcss.pub
fi

exec ssh \
    -i ~/.ssh/dcss \
    -o VerifyHostKeyDNS=yes \
    dcss@crawl.tildeverse.org