Re: can't seem to get SSH to work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat January 11 2014 6:22:47 PM Jorge Fábregas wrote:
> On 01/11/2014 06:13 PM, John Aldrich wrote:
> > What do I need to do in order to open a port for SSH (non-standard port,
> > btw.)
> Assuming you already performed the change in /etc/ssh/sshd_config (and
> restarted the service) you should check the current status of your firewall:
> 
> # firewall-cmd --list-all
> 
> Make sure your non-standard port is there. If not you may add it with:
> 
> # firewall-cmd  --add-port=7777/tcp  (to change it on running system)
> # firewall-cmd --permanent ---add-port=7777/tcp (make it permanent)
> 
> ...assuming 7777 is your non-standard port.
> 
> Also, if you have SELinux enabled (which you should) you must allow it
> there:
> 
> # semanage port -a -t ssh_port_t -p tcp 7777
> 
> Double-check with:
> 
> # semanage port -l | grep ssh
> 
> HTH,
> Jorge
>
OK, the non-standard port is added to the firewall and I've double-checked that 
SELinux is set to allow the port (it is.) I'm still getting "connection 
refused" immediately upon trying to connect VIA SSH. :(

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux