Mageia Bugzilla – Attachment 4341 Details for
Bug 11134
cannot sftp into a mga3 box if ssh is set up with drakwizard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Ensure openssh-server is installed before reading config
drakwizard-sshd.patch (text/plain), 1.04 KB, created by
Derek Jennings
on 2013-09-09 18:58:26 CEST
(
hide
)
Description:
Ensure openssh-server is installed before reading config
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2013-09-09 18:58:26 CEST
Size:
1.04 KB
patch
obsolete
>--- Sshd.pm >+++ Sshd.pm >@@ -34,13 +34,6 @@ my $in = interactive->vnew; > my $conf = "/etc/ssh/sshd_config"; > #my $SHORTHOSTNAME = chomp_(`hostname -s`); > >-# we ask glueconf to give us the structure representing /etc/ssh/sshd_config >-my $sshd = new Libconf::Glueconf::Networking::Sshd_config({ filename => '/etc/ssh/sshd_config' }); >- >-# ------ debug >-use Data::Dumper; >-print Dumper($sshd); >- > my $o = { > name => 'SSH wizard', > var => { >@@ -57,6 +50,13 @@ my $o = { > defaultimage => "/usr/share/wizards/sshd_wizard/images/IC-Dssh-48.png", > }; > >+# we ask glueconf to give us the structure representing /etc/ssh/sshd_config >+my $sshd = new Libconf::Glueconf::Networking::Sshd_config({ filename => '/etc/ssh/sshd_config' }); >+ >+# ------ debug >+use Data::Dumper; >+print Dumper($sshd); >+ > my @yesorno = qw(yes no); push @yesorno, ""; > my @yesnoother = qw(yes no without-password forced-commands-only); push @yesnoother, ""; > my @syslog = qw(DAEMON USER AUTH LOCAL0 LOCAL1 LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7); push @syslog, "";
--- Sshd.pm +++ Sshd.pm @@ -34,13 +34,6 @@ my $in = interactive->vnew; my $conf = "/etc/ssh/sshd_config"; #my $SHORTHOSTNAME = chomp_(`hostname -s`); -# we ask glueconf to give us the structure representing /etc/ssh/sshd_config -my $sshd = new Libconf::Glueconf::Networking::Sshd_config({ filename => '/etc/ssh/sshd_config' }); - -# ------ debug -use Data::Dumper; -print Dumper($sshd); - my $o = { name => 'SSH wizard', var => { @@ -57,6 +50,13 @@ my $o = { defaultimage => "/usr/share/wizards/sshd_wizard/images/IC-Dssh-48.png", }; +# we ask glueconf to give us the structure representing /etc/ssh/sshd_config +my $sshd = new Libconf::Glueconf::Networking::Sshd_config({ filename => '/etc/ssh/sshd_config' }); + +# ------ debug +use Data::Dumper; +print Dumper($sshd); + my @yesorno = qw(yes no); push @yesorno, ""; my @yesnoother = qw(yes no without-password forced-commands-only); push @yesnoother, ""; my @syslog = qw(DAEMON USER AUTH LOCAL0 LOCAL1 LOCAL2 LOCAL3 LOCAL4 LOCAL5 LOCAL6 LOCAL7); push @syslog, "";
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11134
:
4341
|
4342
|
4343
|
4344