I'm considering to disallow concurrent ssh sessions on a single-purpose
production machine (say, DB server).
I thought of replacing the default shell with a shell that keeps its pid
file in a central place. If such a file already exist, it'll kill the other
running shell before logging in.
On Mon, Nov 12, 2012 at 10:05 AM, Elazar Leibovich elaz...@gmail.com wrote:
I'm considering to disallow concurrent ssh sessions on a single-purpose
production machine (say, DB server).
I thought of replacing the default shell with a shell that keeps its pid
file in a central place. If such a
On Mon, Nov 12, 2012 at 10:27 AM, Oleg Goldshmidt p...@goldshmidt.orgwrote:
On Mon, Nov 12, 2012 at 10:05 AM, Elazar Leibovich elaz...@gmail.com
wrote:
I'm considering to disallow concurrent ssh sessions on a single-purpose
production machine (say, DB server).
I thought of replacing
On Mon, Nov 12, 2012 at 10:40 AM, Elazar Leibovich elaz...@gmail.com wrote:
No problem with my scheme, if sshd won't kill old sessions, new sessions
will... (or maybe I misunderstand you).
No, I misunderstood you... Sorry.
Killing existing active sessions in mid-flight seems hairy. You want
On Mon, Nov 12, 2012 at 10:54 AM, Oleg Goldshmidt p...@goldshmidt.orgwrote:
On Mon, Nov 12, 2012 at 10:40 AM, Elazar Leibovich elaz...@gmail.com
wrote:
No problem with my scheme, if sshd won't kill old sessions, new sessions
will... (or maybe I misunderstand you).
No, I misunderstood
On Mon, Nov 12, 2012 at 10:05:02AM +0200, Elazar Leibovich wrote:
I'm considering to disallow concurrent ssh sessions on a single-purpose
production machine (say, DB server).
Sessions != shells.
SSH can be used for various things (ssh, scp, whatever).
I normally keep at least one active shell
On Mon, Nov 12, 2012 at 12:30 PM, Tzafrir Cohen tzaf...@cohens.org.ilwrote:
On Mon, Nov 12, 2012 at 10:05:02AM +0200, Elazar Leibovich wrote:
I'm considering to disallow concurrent ssh sessions on a single-purpose
production machine (say, DB server).
Sessions != shells.
Of course, what I
On Mon, Nov 12, 2012, Elazar Leibovich wrote about Re: Is forbidding
concurrent ssh sessions a good idea?:
While I can certainly see what's broken with it for using a regular
computer, whose stability I do not value much, and while there are
difficulties this may cause, do you see anything
On Mon, Nov 12, 2012 at 12:51:46PM +0200, Nadav Har'El wrote:
On Mon, Nov 12, 2012, Elazar Leibovich wrote about Re: Is forbidding
concurrent ssh sessions a good idea?:
While I can certainly see what's broken with it for using a regular
computer, whose stability I do not value much, and
On Mon, 12 Nov 2012 12:51:46 +0200
Nadav Har'El n...@math.technion.ac.il wrote:
On Mon, Nov 12, 2012, Elazar Leibovich wrote about Re: Is forbidding
concurrent ssh sessions a good idea?:
While I can certainly see what's broken with it for using a regular
computer, whose stability I do not
On 11/12/2012 12:51 PM, Nadav Har'El
wrote:
On Mon, Nov 12, 2012, Elazar Leibovich wrote about "Re: Is forbidding concurrent ssh sessions a good idea?":
While I can certainly see what's broken with it for using a regular
computer, whose
On Mon, Nov 12, 2012 at 12:51:46PM +0200, Nadav Har'El wrote:
Let me offer another completely different idea, without any kills and
similar tricks: End your ~/.profile with screen -R -D
What will this do?
The login shell will start screen(1), and let the admin work in it.
If another
2012/11/12 Yedidyah Bar-David linux...@didi.bardavid.org:
On Mon, Nov 12, 2012 at 12:51:46PM +0200, Nadav Har'El wrote:
On Mon, Nov 12, 2012, Elazar Leibovich wrote about Re: Is forbidding
concurrent ssh sessions a good idea?:
While I can certainly see what's broken with it for using a
On 11/12/2012 10:05 AM, Elazar
Leibovich wrote:
I'm considering to disallow concurrent ssh sessions
on a single-purpose production machine (say, DB server).
You shouldn't...
I'd just add 'who' to the end of the .profile / .bashrc /
On Mon, Nov 12, 2012 at 8:33 PM, Dotan Shavit do...@shavitos.com wrote:
On 11/12/2012 10:05 AM, Elazar Leibovich wrote:
I'm considering to disallow concurrent ssh sessions on a single-purpose
production machine (say, DB server).
You shouldn't...
I'd just add 'who' to the end of the
On Mon, Nov 12, 2012 at 06:32:25PM +0200, E.S. Rosenberg wrote:
+1 for tmux, this does however imply that all the admins are using the
same account to login (bad scenario) with or instead the tmux/screen
line should be added at the end of /root/.profile and not ~/.profile
IIRC screen, perhaps
Only marginally Linux related.
I recently returned for a long stay and quickly realized my phone does not
speak Hebrew - SMS is reduced to numbers, commas and periods. Well, it was
not a smart phone to begin with, and the culture shock just killed it.
So I am thinking switching my Orange number
2012/11/12 Yedidyah Bar-David linux...@didi.bardavid.org:
On Mon, Nov 12, 2012 at 06:32:25PM +0200, E.S. Rosenberg wrote:
+1 for tmux, this does however imply that all the admins are using the
same account to login (bad scenario) with or instead the tmux/screen
line should be added at the end
On Mon, Nov 12, 2012 at 11:30 PM, Steve G. word...@gmail.com wrote:
I hear Samsung Galaxy 2 is good, but I don't know if it has a GPS or
whether programming for it is the same as for the later models (can it take
the latest dessert-OS from Google?) - any better suggestions?
SGS2 is upgraded
On 11/12/2012 09:05 PM, Elazar
Leibovich wrote:
On Mon, Nov 12, 2012 at 8:33 PM, Dotan Shavit do...@shavitos.com
wrote:
On 11/12/2012 10:05 AM, Elazar Leibovich wrote:
Thanks, all! It definitely helped.
Now you mention it, I do remember a couple of years ago changing the law
was in the news, but then the visit ended and I forgot the consequences...
So where do I get a good deal on a (new?) Galaxy II phone? Do I look for it
at the provider's, or is it better to
On Tue, Nov 13, 2012 at 6:59 AM, Steve G. word...@gmail.com wrote:
If I want to play with programming the phone - installing an app, not
changing the OS - do I risk bricking the phone, or is there a sandbox for
dummies to play with? Do I need a special toolkit?
You can create your own APK
22 matches
Mail list logo