Re: ssh problems

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

 



On Thu, Sep 04, 2014 at 10:38:57 -0500,
 Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:
I have two machines on a Local LAN. Machine A can ssh and sftp to
Machine B. But ssh on Machine B to Machine A results in port 22
connection refused. How can this be fixed and or port 22 be opened?

Note that the problem could also be that sshd is not running on machine A. You probably should check that first as it is easy.
systemctl status sshd
And then if it isn't running:
systemctl enable sshd
systemctl start sshd

If you aren't using the firewall package, then you can edit the iptables config in /etc/sysconfig/iptables to allow connections to port 22 from whichever source ip addresses you you need. (You might also need to update /etc/sysconfig/ip6tables if you are using ip6.) You then need to restart iptables (or ip6tables) with:
systemctl restart iptables

If you are using the firewall package there is some graphical config package for updating it. You could start with man firewalld, but I am not sure if there is better documentation for it somewhere else.
--
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