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hdyUUcojwvQqWmLaLtIGIQ3Ovx/ovmtvKVK/FqaJdrj7rOM7ETKSvZBz4DF8+D7r3eJtx4ks7u41bExJM6su1Iw5nQgo3oOh7fiOw== Gio ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDmmm+KDqSsZkvgbY3Mm2Zdr+0KmVWjBPdMMktc1tmvna28xP/kUXfzy4Z0JStkCBl/9wWXe7QYPZpoyoL2i9uSrFlZoWRxvcGS/HGCnS7F33YCyoSNnojR8nSiW2KDmLLODIEUsh/btbgQXbo92hDMAgJIPl/GckQeRn2RqxUoOdOhXD1OJ0q9Zpc3wSHQfPd9i7hYztYs5+J/pFiBU/q/71B2VWCdjC8EwzdJmEEErx6h3eX7MMFITNtQtXjsgCkFUDlLQ6xI3WMmEF9ks6Bgw60C0LCsjXRC1EZtba2r26agrPKKWfjqMjcLHwgUIaot5oFjexgvv17JuyJsV6J san@bonzo " 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 ### Disable root SSH access via password passwd -l root