SSH2: removed redundant rtrim