Commit 252796b4 by Rinat K. Nugaev

Add new file

parents
useradd pai
usermod -aG wheel pai
usermod -aG ssh_admins pai
mkdir /home/pai/.ssh/
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQB6RrXU0XTHvPobMKie6ranclMQQuKRy2gZPXf3JOY28tw+0ff4wYjIN8/TsXu9sieOUj8UlK2wurbHlDn7/nQvavQ8d2Qz6yp4Qk8lSh9XEhyixx+SfvdXkEuHXzQtTAP/ngvxm1qfni01MR0+JrereIbhwrCcpo+gLtrVnOlmzM6ZGmuodduVeQVPlelMg7DMDjy2Z38slzmgVpC9gy1FInvT5HU0K6Vyvj50bMRhS6oe9dz2nt+2LLJrUjd6Voo8p9JfTPOoqBAHJOoYlpW1g/7Jwj0ReRvoe1MPhmYiENr+1aO1xbNYkgsc17kPJL5K3yHE1PhVF4NqHEWY8yK/" >> /home/pai/.ssh/authorized_keys
chown -R pai:pai /home/pai
chmod 700 /home/pai/.ssh
chmod 600 /home/pai/.ssh/authorized_keys
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment