Re: different ssh settings for different users

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

 



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?


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

  Powered by Linux