summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-05 17:52:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-05 17:52:48 +0000
commit4e5205b1574aa6c0e273ad08cbccaab9504e21a9 (patch)
treefe3d21220ec8ec21c269cfd3d679ffd633e15a62 /etc/sshd
parent02d777def251c9fb03c8c6a8a39e276e9b842c9e (diff)
downloadpfsense-4e5205b1574aa6c0e273ad08cbccaab9504e21a9.zip
pfsense-4e5205b1574aa6c0e273ad08cbccaab9504e21a9.tar.gz
MFC 15495
fix: root key files are not in /etc/ssh/root ...
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 d071364..3c1b1c5 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -47,7 +47,7 @@
/* if any of these files are 0 bytes then they are corrupted.
* remove them
*/
- $files_to_check = array('ssh_host_dsa_key','ssh_host_dsa_key.pub','ssh_host_key','ssh_host_key.pub','ssh_host_rsa_key','ssh_host_rsa_key.pub','/root/.authorized_keys');
+ $files_to_check = array('ssh_host_dsa_key','ssh_host_dsa_key.pub','ssh_host_key','ssh_host_key.pub','ssh_host_rsa_key','ssh_host_rsa_key.pub','../../root/.ssh/authorized_keys');
foreach($files_to_check as $f2c) {
if(file_exists("/etc/ssh/{$f2c}"))
if(file_size("/etc/ssh/{$f2c}")==0) {
OpenPOWER on IntegriCloud