خرید بک لینک

Hello everyone,

I am opening this thread because I would like to set up my Ubuntu server (if possible) to give different privileges based on X pairing keys.

These are my current settings

Code:

Local Debian Machine 1
user: zerg
ssh key named: Italy (private key)

Code:

Remote Debian Machine 2
user: overlord
ssh key named: Japan (private key)

Code:

Remote Server Ubuntu Machine 

both public keys (Italy and Japan) are stored in .ssh/authorized_keys

Currently, to access the Ubuntu server, I do the following:

Code:

ssh -i Italy [email protected]

ssh -i Japan [email protected]

Right now, both machines (Debian 1 and Debian 2) have full access (privileges) on my Ubuntu server.

So my question is, how do I restrict Debian 2 privileges in a way that is only able to create/modify/delete within a particular directory?

Bye and thank you in advantage ^_^

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 6 ارديبهشت 1395 ساعت: 9:25

صفحه بندی