#!/bin/bash cat ~/.ssh/id_rsa.pub | ssh $1 "mkdir .ssh; cat - >> ~/.ssh/authorized_keys; \ chmod a-w ~/.ssh; chmod og-rw ~/.ssh/authorized_keys"
No comments:
Post a Comment