restricting ssh login based on IP

Steve Lamb grey at dmiyu.org
Sat Feb 26 14:35:57 UTC 2011


On 02/26/2011 06:23 AM, Robert Spanjaard wrote:
> On Sat, 26 Feb 2011 06:45:23 +0000, Harry Strongburg wrote:

>> On Sat, Feb 26, 2011 at 11:08:37AM +0530, Tapas Mishra wrote:
>>> I would like to allow a user to login through SSH but with different
>>> permission coming from different ipaddress.

>> Sorry to sound unhelpful, but can't you just make a seperate
>> user-account for each IP address, and then set the proper
>> file-permissions to do what you desire?

> I can see the need for what the OP is trying to do. For my work, I can
> log in to a certain website, but my permissions are (and need to be)
> different for on-site and off-site IP's. Sadly, I don't know enough about
> the issue to provide a solution.

     Not possible with SSH.  SSH is about providing access, nothing more.


-- 
          Steve C. Lamb         | But who decides what they dream?
        PGP Key: 8B6E99C5       |   And dream I do...
-------------------------------+---------------------------------------------




More information about the ubuntu-users mailing list