Skip to main content
13 events
when toggle format what by license comment
Jun 10, 2018 at 20:22 vote accept Chairman Meow
Jun 10, 2018 at 20:17 comment added Chairman Meow @NasirRiley sorry, I didn't type out /etc/ but I was there.
Jun 10, 2018 at 20:13 comment added Siva Type setenforce 0 and try ssh
Jun 10, 2018 at 20:05 comment added Nasir Riley @ChairmanMeow Not /selinux. The directory is /etc/selinux. Inside, you'll see a file called config which is where you'll find the line.
Jun 10, 2018 at 20:03 answer added ivanivan timeline score: 2
Jun 10, 2018 at 19:50 comment added Chairman Meow @RuiFRibeiro yes, both ssh and sshd is active (running) and listening on 0.0.0.0 port 22 and listening on :: port 22
Jun 10, 2018 at 19:45 comment added Chairman Meow @NasirRiley ssh is listening on port 22. However, when I nano the selinux conf file semanage.conf, I don't see the line SELINUX=enforcing and there are no other conf file under /selinux directory.
Jun 10, 2018 at 19:37 comment added Rui F Ribeiro have you installed the ssh daemon?
Jun 10, 2018 at 18:48 comment added Nasir Riley @ChairmanMeow Not the Windows firewall but the firewall for Ubuntu Server which is what you're trying to ssh to. On Ubuntu Server run firewall-cmd --permanent ---zone=public --add-port=22/tcp and then firewall-cmd --reload. That will open port 22 but to be sure, run firewall-cmd --list-ports and you should see port 22. Also, run netstat -tanp | grep 22 and that should show ssh listening on port 22. To rule out selinux, open /etc/selinux/config with a text editor and change the line that says SELINUX=enforcing to SELINUX=disabled, reboot, and try again.
Jun 10, 2018 at 18:26 comment added Chairman Meow @SivaPrasath not sure what selinux is but if you could elaborate. Firewall on the router is set to allow ping and LAN to WAN, WAN to LAN are set to: Allow all. Windows firewall is on for Domain, private and public network.
Jun 10, 2018 at 18:16 comment added Siva How about selinux and firewall...
Jun 10, 2018 at 18:11 review First posts
Jun 10, 2018 at 19:31
Jun 10, 2018 at 18:10 history asked Chairman Meow CC BY-SA 4.0