[ back to Tom 7 Radar ]

p
e
r
s
o
n
a
l
shhhhh. (15 Feb 2005 at 15:22)
After a lot of frustration, I have finally gotten my SML SSH daemon talking to OpenSSH and other standard ssh clients. This is no thanks to the protocol documentation ("internet draft"), which is quite ambiguous about a number of important things, and definitely no thanks to the OpenSSH source code, which is pretty crummy--there are far too many different implementations of DES in that thing. On the other hand, the source of putty is very clear and nice and helpful, and putty now even compiles on unix!

Anyway, here is a transcript of what it does now:

[tom@spacebar unix]$ ssh -p 9999 tom@gs82.sp.cs.cmu.edu Warning: Server lies about size of server public key: actual size is 513 bits vs. announced 257. Warning: This may be due to an old implementation of ssh. Warning: Server lies about size of server host key: actual size is 1026 bits vs. announced 513. Warning: This may be due to an old implementation of ssh. Warning: Permanently added 'gs82.sp.cs.cmu.edu,128.2.203.136' (RSA1) to the list of known hosts. Warning: Remote host failed or refused to allocate a pseudo tty. Hello welcome to my secure internet server

bye bye

Killed by signal 2.


I guess the next step is to allocate a pseudo tty, whatever that is. Also, uh, check passwords.

c
o
m
m
e
n
t
Max (ce-web2.wesleyan.edu) – 02.15.05 19:26:44
Wow, that thing is equipped for level III conversation on untitled.gif.
c
o
m
m
e
n
t
Donna (pool-141-158-121-37.pitt.east.verizon.net) – 02.15.05 20:20:09
Um, why are you doing this?
c
o
m
m
e
n
t
Tom 7 (h-67-101-138-165.phlapafg.dynamic.covad.net) – 02.15.05 22:56:23
Because OpenSSH sshd is crap and I don't trust it.
c
o
m
m
e
n
t
Andrew (yale128036074005.student.yale.edu) – 03.11.05 16:28:59
You should formally prove the correctness of SSH in Coq, then extract an OCaml program from the proof.
c
o
m
m
e
n
t
Tom 7 (gs82.sp.cs.cmu.edu) – 03.11.05 17:26:40
I think it's more like formally proving that it's incorrect.
p
o
s
t

a

c
o
m
m
e
n
t
[ Tom 7 Radar  •  Tom 7 on Google+  •  on Twitter  •  on Facebook ]