ssh2 spews $ signs

From: r5 (r5ahhj@cotse.net)
Date: 01/27/02


From: r5ahhj@cotse.net (r5)
Date: 27 Jan 2002 13:35:27 -0800

What is the proper way to use the -f option in ssh2? When I do
something like:
 
% ssh2 -f $host
$ $ $ $ $ ...
 
I get bunches of dollar ($) signs spewing to the terminal window,
line after line, forever. Even when I redirect the output and error,
these $ signs still appear on the tty:
 
% ssh2 -f $host >& /dev/null &
$ $ $ $ $ ...
 
Is something in ssh2 directly accessing the tty device? Thanks.