in reply to Net::SSH::Perl Module Problem

You have asked the same question at least two times. Can you please elaborate on why the answers you got didn't work for you first before asking your question again?

You won't be able to listen to port 22 and log the info you want, unless you write your own SSH server (not recommended...). Are you sure my suggestion won't work for you? (ie. either using sshd's logfiles or issueing the last command)