Re: different ssh settings for different users



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



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: sshd and IPv4 forwarding no longer working
    ... I performed a recent upgrade and possibly openssh got upgraded as well. ... sshd is showing it is running. ... unabel to forward traffic nor does sshd answer port 22. ... Perhaps because you have the listenAddress set to 0.0.0.0? ...
    (Ubuntu)
  • 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)

Quantcast