Skip to content

Instantly share code, notes, and snippets.

@chiefdeals
chiefdeals / setup_unraid_ssh.sh
Created September 28, 2023 18:38 — forked from hongkongkiwi/setup_unraid_ssh.sh
Small script to setup ssh keys and configs on Unraid to persist after boot. Supports multiple users.
#!/bin/bash
# Add this line into /boot/config/go where username is the user you want to setup, probably root
#/boot/config/ssh/setup_ssh_client.sh "username"
if [[ "$1" == "" ]]; then
echo "Invalid User!"
exit 1
fi