Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
dff239e5
Commit
dff239e5
authored
Dec 12, 2014
by
Charlie Root
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.opnsense.org:~/repo/opnsense-core
parents
efb08f92
9e0a6a4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rc.sshd
src/etc/rc.sshd
+3
-3
No files found.
src/etc/rc.sshd
View file @
dff239e5
...
...
@@ -57,8 +57,8 @@ $keys = array(
'ssh_host_rsa_key.pub'
,
'ssh_host_ecdsa_key'
,
'ssh_host_ecdsa_key.pub'
,
'ssh_host_ed25519_key'
,
'ssh_host_ed25519_key.pub'
//
'ssh_host_ed25519_key',
//
'ssh_host_ed25519_key.pub'
);
foreach
(
$keys
as
$f2c
)
{
...
...
@@ -136,7 +136,7 @@ if ($generate_keys) {
mwexec
(
"/usr/bin/ssh-keygen -t rsa -N '' -f
{
$sshConfigDir
}
/ssh_host_rsa_key"
);
mwexec
(
"/usr/bin/ssh-keygen -t dsa -N '' -f
{
$sshConfigDir
}
/ssh_host_dsa_key"
);
mwexec
(
"/usr/bin/ssh-keygen -t ecdsa -N '' -f
{
$sshConfigDir
}
/ssh_host_ecdsa_key"
);
mwexec
(
"/usr/bin/ssh-keygen -t ed25519 -N '' -f
{
$sshConfigDir
}
/ssh_host_ed25519_key"
);
//
mwexec("/usr/bin/ssh-keygen -t ed25519 -N '' -f {$sshConfigDir}/ssh_host_ed25519_key");
clear_subsystem_dirty
(
'sshdkeys'
);
log_error
(
_
(
'Completed creating your SSH keys. SSH will now be started.'
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment