BUG?: Assigning a Perl script as user shell + sending commands on ssh connect
Jefferson Ogata
Jefferson.Ogata at noaa.gov
Fri Jul 27 09:47:24 EST 2007
On 2007-07-26 22:30, Brandon Simmons wrote:
> You can see that what I type is taken as <STDIN> by the script, so I
> guess the output is stuck in a buffer somewhere. not sure if this is a
> bug in OpenSSH or a perl oddity. Or maybe I really shouldn't be
> setting my user's shell to be a script.
Have you tried setting autoflush on the output stream from your Perl script?
--
Jefferson Ogata <Jefferson.Ogata at noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <ncirt at noaa.gov>
"Never try to retrieve anything from a bear."--National Park Service
More information about the openssh-unix-dev
mailing list