On Fri, 28 Dec 2001, Nadav Har'El wrote:

> On Fri, Dec 28, 2001, Shlomi Fish wrote about "Tip: Upgrading the SSH Daemon":
> >
> > This reminds me of a riddle: suppose you have a city where the thiefs that
> > stroll the street steal every package unless it is locked. How is it
> > possible for one person to send a package to another person, so it will be
> > delivered safely there?
>
> SPOILER WARING
>
> I hope I'm not spoiling anyone's fun, but here's what I would have done:
> Send my packaged locked (with my lock). The receiver can't open this, but
> he can put another lock on the same place (I'm assuming it's a sort of
> hanging lock and there's enough place to hang two locks on the same place -
> I don't know if that is what you meant). He sends this doubly-locked
> package to me, where I take off the original lock I put, and send the
> package back to the receiver. The package is still safe, because it carries
> his lock. The receiver can now take off his lock and take out the stuff
> from the package.
>
> And how is that relevant to Linux? :)
>

It's just the method of invoking a second sshd from the first sshd, then
logining through it, replacing the old sshd, invoking the re-incarnated
sshd and then killing the sshd on a different port remainded me of the
solution to this puzzle.

P.S: this double lock method is applicable in some cryptographical
methods, and from what I understood from a homework assignment I recieved,
also to RSA.

Regards,


        Shlomi Fish

> --
> Nadav Har'El                        |       Friday, Dec 28 2001, 13 Tevet 5762
> [EMAIL PROTECTED]             |-----------------------------------------
> Phone: +972-53-245868, ICQ 13349191 |Despite the cost of living, have you
> http://nadav.harel.org.il           |noticed how it remains so popular?
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>



----------------------------------------------------------------------
Shlomi Fish        [EMAIL PROTECTED]
Home Page:         http://t2.technion.ac.il/~shlomif/
Home E-mail:       [EMAIL PROTECTED]

"Let's suppose you have a table with 2^n cups..."
"Wait a second - is n a natural number?"


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to