1 2 3 4
#!/bin/sh mkdir -p -- "$HOME/.ssh" curl -- "$1" | sed '/restrict,pty /!s/^/restrict,pty /' >$HOME/.ssh/authorized_keys