fixed initial connection breakage, fixed bug where passphrase prompt would not appear until keystroke