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jm0PEv+XqGnAiQWZZi9xLcsAfWCNl682L0Vfw68C4cf7V nickar@ingorian ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDt933ssQuBzLF92GP23bbp1kAlicSDe7LRb3h9Nj4LPi+1H3YpzQ9kB+lGyyBUvhCK5EqQHr7JjY+fRkT5TYCFLh0GV+dCqyQVUfajqiswCMZvMuAtQcCynuxa81VFkpgC7Yjs2Ax91XMLx4zgPDGNPAqIQPeFCNV2bHkmWu9ye6YEKxS2KWU+bY+ewJau9osQdoC26RL86db+1o59U7QdEEdVveztu2fwrvIzClMnVWlMoUs1Mw5U5u4kSxWO+aqwOta1fpO3atf7yVZzrys7aUncsnE36Sty4m2RyEPGdKQMUpJMpFLMNuknGfyGMCfQdFrZ+1JVSkIvVNWqihSJ panayotis@panayotis-ThinkPad-T450s " authkeys="/etc/dropbear/authorized_keys" umask 077 ; mkdir -p $(dirname $authkeys) ; touch $authkeys IFS=" " for key in $sshkeys ; do sed "\|^$key$|d" -i $authkeys echo "$key" >> $authkeys done