diff options
Diffstat (limited to 'mksshauth')
-rwxr-xr-x | mksshauth | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,9 +1,10 @@ -#!/bin/bash +#!/bin/sh # # /usr/local/bin/mksshauth -# Copyright 2001-2002 Juri Jensen <juri@xenux.dk> & Jonas Smedegaard <dr@jones.dk> +# Copyright 2000-2001 Juri Jensen <juri@xenux.dk> +# Copyright 2002 Juri Jensen <juri@xenux.dk> & Jonas Smedegaard <dr@jones.dk> # -# $Id: mksshauth,v 1.2 2002-12-03 16:33:01 jonas Exp $ +# $Id: mksshauth,v 1.3 2002-12-03 16:35:45 jonas Exp $ # # Setup local and remote SSH for non-interactive authorization # @@ -33,7 +34,7 @@ case "$keytype" in *) echo "Usage: $prg 1|2|dsa|rsa [user@]host" exit 1 - ;; + ;; esac [ -f ~/.ssh/$id_file ] || ssh-keygen -t $keytype |