in reply to SSH leaving terminal confused issue

( -f "~$user/.ssh/identity" ) or die "access denied\n";
__________________________________________________________________________________

^M Free your mind!