Re: SSH on Multiple ports Fedora Core 4

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

 



John Gallagher wrote:

I want it to run on multiple ports but with different options.  The service
running on port 5000 will be open for outside connections, RSA only, and no
root login.  I want the standard config to also run so that internally you
do not need a RSA key and can login as root. John
You're on the right path for what you want to do. I don't recommend having ssh so open, even from the inside, but that _is_ your decision. The error is probably a red-herring. Start both ssh daemons then check the lstening ports:
netstat -atnp | grep ssh

Chances are all is fine and the issue is that you have ipv6 and ipv4 enabled (fc4 default) and ssh is discovering a conflict opening a socket to listen at the designated port on the ipv6 superset of your address, and then another socket to listen at the designated port on the ipv4 address.

If you don't actually need ipv6 add the following to /etc/modprobe.conf and then reboot:
alias net-pf-10 off

Chris

--
  "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
  Chris Johnson, RHCE #807000448202021


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux