Skip to content

Instantly share code, notes, and snippets.

@pratikbin
Last active January 24, 2022 10:16
Show Gist options
  • Save pratikbin/9eb70bc68c1e1584cb5e8f767d97f61e to your computer and use it in GitHub Desktop.
Save pratikbin/9eb70bc68c1e1584cb5e8f767d97f61e to your computer and use it in GitHub Desktop.
mkdir -p ~/.ssh
touch ~/.ssh/authorized_keys
curl -sL github.com/pratikbalar.keys >>~/.ssh/authorized_keys
systemctl start sshd
echo 'Server = http://10.0.1.12:9129/repo/archlinux/$repo/$arch' | sudo tee /etc/pacman.d/mirrorlist
ip a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment