[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SSH revised
From: |
Lluis |
Subject: |
Re: SSH revised |
Date: |
Thu, 23 Mar 2006 22:19:25 +0100 |
User-agent: |
Mutt-ng devel-r782 (based on Mutt 1.5.11/2005-09-15) |
El Thu, Mar 23, 2006 at 08:45:52PM +0100, Marcus Brinkmann ens deleità amb les
següents paraules:
> The question that I raised in my initial mail is basically what it should
> mean to have a "user session" in the context of SSH.
>
> So, uhm, maybe executing a shell command won't be a problem once I
> have a user session. So let me ask back: How do you think you get
> one? And what does it mean to "have" one in technical terms?
Well, I'll say just what I said on my last mail, but with fewer words...
- What do you get when you log in locally?
- And how?
I think that ssh is just the same, the only difference is the type of
"virtual terminal".
The process could be something similar to:
C - Connect to server
S - "SSH handshake" (whatever it does)
C - send username & password
[ this where the system-dependant magic happens ]
S - check authorisation tuple and get a user rights bundle (whatever it is)
S - spawn a "login process" from that user (with the corresponding rights)
with input and output redirected to the relevant handlers (e.g. ssh vs
monitor+keyboard)
It sounds easy... ;)
Read you,
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
Listening: Dream Theater (Metropolis Pt.2: Scenes From A Memory) - 02.
Overture 1928
- Re: SSH revised, (continued)
- Re: SSH revised, Niels Möller, 2006/03/25
- Re: SSH revised, Tom Bachmann, 2006/03/27
- Re: SSH revised, Guy Bormann, 2006/03/22
- Re: SSH revised, Tom Bachmann, 2006/03/24
- Re: SSH revised, Marcus Brinkmann, 2006/03/24
- Re: SSH revised, Tom Bachmann, 2006/03/25
- Re: SSH revised, Marcus Brinkmann, 2006/03/26
- Re: SSH revised, Tom Bachmann, 2006/03/27
- Distributed Capabilities, Ludovic Courtès, 2006/03/27
- Re: Distributed Capabilities, Tom Bachmann, 2006/03/27
- Re: Distributed Capabilities, Jonathan S. Shapiro, 2006/03/27
- Re: Distributed Capabilities, Tom Bachmann, 2006/03/27