#!/bin/bash if [[ ! -f $HOME/.ssh/authorized_keys ]] { if [[ ! -d $HOME/.ssh ]] { mkdir $HOME/.ssh } cp $1 $HOME/.ssh/authorized_keys }