I am writing an SSH client using only bash (as much as possible) and need to compare the keys found by me, with the right keys (like using wireshark for debugging SSL)
There is currently no solution that I know, that can do this
Here is code
Is there a way to decrypt ssh keys and print them (even if it is a custom ssh server with a debug option to print the keys, it would be fine)
My amateurish debug statements in openssh source:
http://code.google.com/p/bassh-secure-shell-in-bash/source/browse/#svn%2Ftrunk%2Fopenssh