[CentOS] 'last' command doesn't include ssh connections made by this perl script?
Stephen Harris
lists at spuddy.org
Mon Jan 2 23:30:09 UTC 2012
On Mon, Jan 02, 2012 at 03:04:07PM -0800, Bennett Haselton wrote:
> This makes me wonder two things:
> 1) What is the difference, from the server's point of view, between the
> connection opened by the script and the one opened by my ssh client; and
Spot the difference between
ssh remotemachine
and
ssh remotemachine echo hello
The first is a login (shows up in "last"), the second is not. Your perl
script does the moral equivalent of the second.
--
rgds
Stephen
More information about the CentOS
mailing list