Re: different ssh settings for different users
- From: "Steven W. Orr" <steveo@xxxxxxxxxxx>
- Date: Wed, 31 May 2006 11:16:31 -0400 (EDT)
On Wednesday, May 31st 2006 at 11:54 +0530, quoth Ankush Grover:
=>I am using openssh-3.9 on FC3.Is it possible to have different ssh
=>settings for each user means if there is a user john and he can only
=>connect through the port 3309 and if there is a user mary she can
=>only connect through the port 4067 ?
=>
=>Rest of the users should be able to connect through the default port
=>that is 5009.
You may use multiple lines in your sshd config file
ListenAddress 3309
ListenAddress 4067
ListenAddress 5009
Why in the Wide World of Sports would you want to do such a thing?
=>Moreover is it possible to restrict some users to login only from few
=>machines for example I want to restrict user tom that he can only
=>login from one machine ?
To restrict a user to an address, use tcpwrappers.
--
steveo at syslang dot net TMMP1 http://frambors.syslang.net/
Do you have neighbors who are not frambors?
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: different ssh settings for different users
- From: Ankush Grover
- Re: different ssh settings for different users
- References:
- different ssh settings for different users
- From: Ankush Grover
- different ssh settings for different users
- Prev by Date: slsnif (or alternative) for FC?
- Next by Date: Re: fc5 hangs
- Previous by thread: Re: different ssh settings for different users
- Next by thread: Re: different ssh settings for different users
- Index(es):
Relevant Pages
- Re: Not able to connect
... The ntp.conf file I appended was installed by the Fedora Core 5 installation except for the
NIST servers which were added by the system date/time s/w under Fedora Core 5. ... The
port number on your system is arbitrary, and is usually chosen at random by your system each time
the client program prepares to make a request for the time. ... How can I tell if ntpd
is working and keeping the clock synched? ... You may wish to restrict the pool to your
geographic area. ... (comp.protocols.time.ntp) - Re: Block MSN Messenger by router rules (Netgear DG834)
... > able to restrict it to reasonable periods. ... > to port 80.
... or some other NAT proxy. ... all connections through either HTTP or Socks
proxy. ... (comp.security.firewalls) - Re: Custom Sharepoint (Companyweb) permissions
... If it was using a standard port and you were using ISA server - you ... companyweb
uses the non-standard 444, ISA is using a server publishing rule ... which doesn't give you the
option to restrict by user. ... > CompanyWeb but only a few people have RWW access.
... (microsoft.public.windows.server.sbs) - Re: Controlling access to MSTSC.exe
... programs where I will need the ability to restrict by domain ... > at your
firewall. ... > to an RDP port other than 3389, ... >> level policy
(i.e. who can connect via remote desktop to the servers). ... (microsoft.public.windowsxp.setup_deployment) - ssh: acces denied (only from remote network)
... ListenAddress:: ... owl:/home/mitja# debug1: read PEM private key done:
type RSA ... Bind to port 22 on 0.0.0.0. ... Server listening on 0.0.0.0
port 22. ... (comp.os.linux.networking)