#!/bin/bash wget http://${SE3}/paquet_cles_pub_ssh.tar.gz if [ "$?" = "0" ]; then tar -xzf paquet_cles_pub_ssh.tar.gz && \ cat *.pub > authorized_keys && \ rm paquet_cles_pub_ssh.tar.gz else echo "Echec de la recuperation des cles pub." | tee -a $compte_rendu fi