#set ssh_keys = $getVar("push_ssh_keys", "/root/.ssh/id_rsa.pub") #if $ssh_keys != "" /root/.ssh/authorized_keys root.root 600 shell /root/.ssh/authorized_keys #echo $f.read() EOL #else cat << EOL >> /root/.ssh/authorized_keys #echo $f.read() EOL #end if #silent $f.close() #set $firstline = False #end for ]]> #end if