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