mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
ssh is a directory (#2807)
This commit is contained in:
parent
9ada5b912c
commit
72bfa88861
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ if [ "$1" = "restore" ]; then
|
|||
if [ -d "${DEFAULTBACKUPBASEDIR}/ssh" ]; then
|
||||
|
||||
# restore sshd host keys
|
||||
sudo rm /etc/ssh/*
|
||||
sudo rm -r /etc/ssh/*
|
||||
sudo cp -r $DEFAULTBACKUPBASEDIR/ssh/* /etc/ssh/
|
||||
sudo chown -R root:root /etc/ssh
|
||||
sudo dpkg-reconfigure openssh-server
|
||||
|
|
Loading…
Add table
Reference in a new issue