Bug 12614

Summary: ssh-server not installed by default
Product: Mageia Reporter: Drew Edwards <drew>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal    
Version: 4   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: openssh-6.2p2-3.mga4.src.rpm CVE:
Status comment:
Attachments: output from iptables --list

Description Drew Edwards 2014-02-05 18:32:26 CET
Description of problem:

I have two machines with fresh installs of mageia 4.  Both configured via drakfirewall to allow ssh access, but I get this message when attempting to connect:

ssh: connect to host deepthought.localdomain port 22: Connection refused

Attaching output from iptables --list from one of the 2 machines.


Version-Release number of selected component (if applicable):

drakx-net-2.12-1.mga4.src.rpm


How reproducible:

Configure firewall in drakfirewall to allow ssh access.  Then try to ssh to machine and observe.



Reproducible: 

Steps to Reproduce:
Comment 1 Drew Edwards 2014-02-05 18:34:29 CET
Created attachment 4941 [details]
output from iptables --list

output from iptables --list
Comment 2 Drew Edwards 2014-02-05 18:44:56 CET
Just to confirm that the machine is accessible otherwise:

ping deepthought.localdomain
PING deepthought.localdomain (192.168.1.149) 56(84) bytes of data.
64 bytes from deepthought.localdomain (192.168.1.149): icmp_seq=1 ttl=64 time=5.37 ms
64 bytes from deepthought.localdomain (192.168.1.149): icmp_seq=2 ttl=64 time=5.13 ms
64 bytes from deepthought.localdomain (192.168.1.149): icmp_seq=3 ttl=64 time=5.05 ms
^C
--- deepthought.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 5.058/5.188/5.370/0.144 ms


Also, I have NFS mounts on that machine that I can access without issue.

Not sure if it is significant, but on both machines I de-selected 'Use interactive firewall' in the configuration gui.
Comment 3 Drew Edwards 2014-02-06 22:52:55 CET
My initial impressions were completely wrong, I did more digging to try to figure this out.  Thus the changed summary wording.

openssh-server is not installed by default apparently.  I checked four machines with mageia 4 installed via x86_64 DVD, openssh-server was not installed on any of them.  I have never before had to explicitly install this before on prior versions of Mageia (1-3).  Also, the firewall specifically allowed accepting ssh connections even though it was not even installed.  It should be installed by default as with previous versions of Mageia or noted in release notes.

I don't know what package this should be reported against, I changed it from the firewall gui to openssh-server, but I'm sure that is not correct either. At least it identifies the missing package.

Hardware: All => x86_64
Summary: drakfirewall not correctly allowing ssh when selected => ssh-server not installed by default
Source RPM: drakx-net-2.12-1.mga4.src.rpm => openssh-6.2p2-3.mga4.src.rpm

Comment 4 Remco Rijnders 2014-02-07 10:41:14 CET
Hi Drew. Thank you for the report, and glad to hear you resolved the issue yourself.

Please note that the ssh server is not part of the regular 'default' install, also not in earlier Mageia releases.

Status: NEW => RESOLVED
Resolution: (none) => INVALID