Re: different ssh settings for different users



On 5/31/06, Steven W. Orr <steveo@xxxxxxxxxxx> wrote:
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

It is a good choice when you want similar settings for all the users.
What I want is separate user settings per port ?

Why in the Wide World of Sports would you want to do such a thing?



Thanks for the reply. We have some partners and clients which logins
through ssh means sftp. Those accounts are chrooted and through sftp
we give them updates for our softwares means patches.

As the FC3 is accessible through Internet we want to keep our clients
& partners separate even having different ssh settings for them.

Thanks & Regards

Ankush Grover

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: different ssh settings for different users
    ... =>connect through the port 3309 and if there is a user mary she can ... ListenAddress 3309 ... It is a good choice when you want similar settings for all the users. ... through ssh means sftp. ...
    (Fedora)
  • Re: Idiots Guide No 1 - How to Telnet
    ... the settings using the name "Default Settings". ... If you could encourage people to use SSH rather than telnet for CAO ... both when I first went online ~2 weeks ... It doesn't connect at all with port 23, ...
    (rec.games.roguelike.misc)
  • Re: [SLE] Firewall problems
    ... > after that when i tray to connect to ssh ... When you set up the basic firewall settings you most likely allowed port 22 ... You can't have port 22 going to both places. ...
    (SuSE)
  • Re: different ssh settings for different users
    ... I believe you can do this by running a different sshd for each unique ... port (using ListenAddress, Port) that you wish to allow ssh connections ... I am not able to ssh on the port 3455 whereas on port 22 I can ssh. ...
    (Fedora)
  • Re: ssh gives "Permission denied, please try again"
    ... port 22 on your internal machine, so you will need to keep ssh up to ... I configure the router to forward a different external port to 22 on my ... For good measure pick usernames that are none obvious, ... root/password: 163 times ...
    (uk.comp.os.linux)