Re: restricting ssh login based on IP

2011-03-01 Thread Rafael Skodlar
On 02/26/2011 12:09 AM, Dan Sheffner wrote: Like Michael said I would accomplish this with two users. Just off the top of my head I would do: user 1) has full read/write access to /home/user1 user 2) has read only access to /home/user2 schedule cron to rsync from /home/user1 to /home/user2

Re: restricting ssh login based on IP

2011-02-28 Thread Serge E. Hallyn
Quoting Michael Zoet (michael.z...@zoet.de): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 10:21, schrieb Tapas Mishra: On Sat, Feb 26, 2011 at 1:39 PM, Dan Sheffner dsheff...@gmail.com wrote: Like Michael said I would accomplish this with two users. Just off the top of

Re: restricting ssh login based on IP

2011-02-28 Thread Scott Moser
On Mon, 28 Feb 2011, Serge E. Hallyn wrote: Quoting Michael Zoet (michael.z...@zoet.de): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 10:21, schrieb Tapas Mishra: On Sat, Feb 26, 2011 at 1:39 PM, Dan Sheffner dsheff...@gmail.com wrote: Like Michael said I would

Re: restricting ssh login based on IP

2011-02-28 Thread Tapas Mishra
On Mon, Feb 28, 2011 at 7:36 PM, Scott Moser smo...@ubuntu.com wrote: On Mon, 28 Feb 2011, Serge E. Hallyn wrote: Quoting Michael Zoet (michael.z...@zoet.de): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 10:21, schrieb Tapas Mishra: On Sat, Feb 26, 2011 at 1:39 PM,

Re: restricting ssh login based on IP

2011-02-27 Thread Tapas Mishra
On Sun, Feb 27, 2011 at 7:23 AM, Steven Miano mian...@gmail.com wrote: If you can do it with two users, this would be a good time to use the permission system. Owner having 7 (read/write/execute), and Group having 5 (read and execute). I think everyone on the list would like to know the

Re: restricting ssh login based on IP

2011-02-26 Thread Michael Zoet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 06:32, schrieb Tapas Mishra: Hi, Hi Tapas, I would like to allow a user to login through SSH but with different permission coming from different ipaddress. For example, a user tester login to SSH through 192.168.1.1 and another

Re: restricting ssh login based on IP

2011-02-26 Thread Tapas Mishra
On Sat, Feb 26, 2011 at 1:39 PM, Dan Sheffner dsheff...@gmail.com wrote: Like Michael said I would accomplish this with two users.  Just off the top of my head I would do: No not two users it has to be same user who has to be restricted based on IP from which he logs in. I need some more

Re: restricting ssh login based on IP

2011-02-26 Thread Michael Zoet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 26.02.2011 10:21, schrieb Tapas Mishra: On Sat, Feb 26, 2011 at 1:39 PM, Dan Sheffner dsheff...@gmail.com wrote: Like Michael said I would accomplish this with two users. Just off the top of my head I would do: No not two users it has to be

Re: restricting ssh login based on IP

2011-02-26 Thread Steven Miano
If you can do it with two users, this would be a good time to use the permission system. Owner having 7 (read/write/execute), and Group having 5 (read and execute). I think everyone on the list would like to know the reasoning behind using the same user account. On Sat, Feb 26, 2011 at 04:31,

Re: restricting ssh login based on IP

2011-02-26 Thread C S Shyam Sundar
2011/2/27 Steven Miano mian...@gmail.com I think everyone on the list would like to know the reasoning behind using the same user account. +1 Can you please give us an bigger picture of why you want to do this ? -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com

Re: restricting ssh login based on IP

2011-02-26 Thread C S Shyam Sundar
2011/2/27 Steven Miano mian...@gmail.com I think everyone on the list would like to know the reasoning behind using the same user account. +1 Tapas, can you please give us an bigger picture of why you want to do this ? -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com