nsbin/kopiere_ssh_key
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

9 lines
164 B
Text
Executable file

if [ $# != 1 ]; then
echo "`basename $0`: Host"
exit 1
fi
host="$1"
cat ~/.ssh/identity.pub | ssh $host "(mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys)"