This project implements Diffie-Hellman key exchange for securing connection (exactly like ssh). It however does not (yet) understand commands (it will just respond with 'I've received <received_msg>')
Implemented according to RFC4253 Section 8
The best way to get hang of this implementation is to look at SshConnectionTest.scala