what is the most comfortable way to ssh and vim/latex/c++ on android?
So, I have a Nexus One.

Firstly: do not try to use the soft keyboard for any form of coding. It's workable, to an extent, with connectbot's help, for system administration, but coding is flat out. If you insist on trying, look at Full Keyboard.

Secondly: the screen size is an issue, at least for me. I haven't found a font size that is both readable for long sessions and displays enough code on the screen. 

Coding and longform text are still definitely a Computer thing.