ssh, remote_nm and launch fixes

Hi,

first of all thanks a lot for the great work, it's really useful! I made a few fixes to problems that occurred to me while using your packages. Detailed comments are in the commit messages.

Best, Markus