SSH man in the middle attack can be done with dnsspoof and sshmitm, included in the Dsniff package
http://www.monkey.org/~dugsong/dsniff/
As a side note, when someone on your network attempts this, you should recieve the notice below when attempting to SSH into a remote machine. If you have not changed anything recently in regards to SSH, and get this message, it may indicate an SSH man-in-the-middle attack. If that's the case, then drop the log in, and investigate the possible attack.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now
(man-in-the-middle attack)! It is also possible that
the host-key has just been changed. Please contact
your system administrator.