- # allow users who can already login as 'root' to login as 'me'
- mkdir -p /home/me/.ssh/
- chmod 0700 /home/me/.ssh/
- cp -r "$HOME/.ssh/authorized_keys" /home/me/.ssh/
- chmod 0600 /home/me/.ssh/authorized_keys
- touch /home/me/.ssh/config
- chmod 0644 /home/me/.ssh/config
- chown -R me:me /home/me/.ssh/
+ # allow users who can already login as 'root' to login as 'app'
+ mkdir -p /home/app/.ssh/
+ chmod 0700 /home/app/.ssh/
+ cp -r "$HOME/.ssh/authorized_keys" /home/app/.ssh/
+ chmod 0600 /home/app/.ssh/authorized_keys
+ touch /home/app/.ssh/config
+ chmod 0644 /home/app/.ssh/config
+ chown -R app:app /home/app/.ssh/