mirror of
https://github.com/kevinveenbirkenbach/raspberry-pi-tools.git
synced 2025-09-10 20:37:15 +02:00
Implemented ssh activation
This commit is contained in:
@@ -149,6 +149,8 @@ if [ "$user" != "" ] && [ -f "$ssh_key_source" ]
|
|||||||
cat "$ssh_key_source" > "$ssh_key_target"
|
cat "$ssh_key_source" > "$ssh_key_target"
|
||||||
chown -R 1000 "$rootpath/home/alarm/.ssh"
|
chown -R 1000 "$rootpath/home/alarm/.ssh"
|
||||||
chmod -R 400 "$rootpath/home/alarm/.ssh"
|
chmod -R 400 "$rootpath/home/alarm/.ssh"
|
||||||
|
echo "SSH File wird angelegt..."
|
||||||
|
echo "" > "$bootpath/ssh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Script rauemt das Verzeichnis auf..."
|
echo "Script rauemt das Verzeichnis auf..."
|
||||||
|
Reference in New Issue
Block a user