proxy/setup.sh

6 lines
148 B
Bash
Executable File

#!/bin/sh
adduser --disabled-password --gecos "" remote
mkdir /home/remote/.ssh/
chmod 700 /home/remote/.ssh/
mv authorized_keys /home/remote/.ssh/