summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sshd b/etc/sshd
index b845fe5..7c708f6 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -51,7 +51,7 @@
if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) {
if(!file_exists("/etc/ssh/ssh_host_key.pub")) {
echo "Restoring SSH from /conf/sshd/";
- exec("/conf/sshd/* /etc/ssh/");
+ exec("cp /conf/sshd/* /etc/ssh/");
}
}
OpenPOWER on IntegriCloud