SOLVED SSHD ??

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

 



On 01/12/2014 12:02 AM, Ed Greshko wrote:
On 01/12/14 12:43, Jim wrote:
Fedora 118

What is wrong with these settings ?
I set the firewall-cmd ssh port 7777, but it's listening on port 35881. How do I fix this ??


# systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Sat 2014-01-11 23:31:54 EST; 24s ago
Process: 1908 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS)
Main PID: 1918 (sshd)
CGroup: name=systemd:/system/sshd.service
└─1918 /usr/sbin/sshd -D

Jan 11 23:31:54 BigOne sshd-keygen[1908]: Generating SSH2 ECDSA host key: [ OK ]
Jan 11 23:31:54 BigOne systemd[1]: Started OpenSSH server daemon.
Jan 11 23:31:54 BigOne sshd[1918]: Server listening on 0.0.0.0 port 35881.
Jan 11 23:31:54 BigOne sshd[1918]: Server listening on :: port 35881.
Well, firewall settings don't influence the port of sshd.

I've not seen where you've posted or indicated that you changed the "Port" parameter in /etc/ssh/sshd_config.


I went into /etc/ssh/sshd_config. and changed the port from 35881 to 7777 and restarted sshd , what puzzels me is how the setiing of port 35881 got in /etc/ssh/sshd_config.

And I now have have ssh set at 7777 and listening on that port.
I also got the firewall setup on 7777.

Thhanks for your help Ed.

--
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