Re: allow ssh on particular port....



Cheap hack alert:

Try running two ssh servers, one on the normal port 22, and the other on port
75, and put the allow user directive to only include root on the second server.

gsethug@xxxxxxxxx wrote:
Hi team ,
I am running ssh on two ports.
port 22
port 75 in sshd_config
now i want to allow root user in port no 25 and deny in 22.
guys if anybody knows let me know.

Thanks in advance...

.



Relevant Pages

  • Re: Known hosts file and host with multiple SSH ports
    ... > I have an IP address with multiple SSH servers running on several ... which was created while accessing the other port. ... > Are there any suggestions, other than editing the known hosts file, ...
    (comp.security.ssh)
  • Known hosts file and host with multiple SSH ports
    ... I have an IP address with multiple SSH servers running on several ... which was created while accessing the other port. ... Are there any suggestions, other than editing the known hosts file, ...
    (comp.security.ssh)
  • Re: Two NICs. two SSH servers
    ... two SSH servers, each bound to a different NIC and on a different port? ... The ListenAddress parameter in your config file defines which address ...
    (comp.security.ssh)
  • Re: Sockets, port and loop-back ?
    ... But URLs allow you to specify the port as well as the IP address ... the web server, You can configure this server (that listens on only ... and a router at 123.123.123.123 that masquerades Your subnet ... and You want to have ssh servers on both that are ...
    (comp.os.linux.networking)
  • Re: shutting down dictionary attacks
    ... It would also be useful to run the daemon on a different port than 22. ... This will probably throw 90% of the people scanning for ssh servers ...
    (SSH)