Register WinSCP login in LAST log

Advertisement

Guest

Register WinSCP login in LAST log

Is there a way to register a WinSCP login in a the normal LAST log file? Putty registers the login, but WinSCP doesn't.

Any help with this would be appreciated.

Thx
Tony

Reply with quote

Advertisement

Guest

Re: Register WinSCP login in LAST log

martin wrote:

Sorry, but I have no idea what you mean. Please try again :-)

Putty logs an entry in /var/log/wtmp everytime someone logs on. WinSCP doesn't. It would be most convenient if it were possible to allow WinSCP to make such an entry.

Hope this clears up the confusion.

Thx

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Register WinSCP login in LAST log

Putty logs an entry in /var/log/wtmp everytime someone logs on. WinSCP doesn't. It would be most convenient if it were possible to allow WinSCP to make such an entry.
I do not think that PuTTY logs anything on the server. I even do not think that it is possible.

It is rather your SSH server that does it. And it probably does it only for interactive sessions (PuTTY) and not for non-interactive ones (WinSCP).

To verify this try to login using PuTTY with checked "Don't allocate a pseudo terminal" on SSH tab. It brings PuTTY session closer to what WinSCP does, but not exactly.

Reply with quote

Hermann_
Guest

howto log and show a non-interactive session

Hi Martin,
this is indeed an old postin but it relates to my question.

My question: is it possible to see a winscp session by typing i.e. "finger" or "last" in the console? Is there a special command? Or is there an other way to show and log a winscp session?

I also tried to configure my sshd server that it will log any non-interactive sessions as well. But there was no option for that or i could not find one...

greetings
Hermann

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: howto log and show a non-interactive session

Hermann_ wrote:

My question: is it possible to see a winscp session by typing i.e. "finger" or "last" in the console? Is there a special command? Or is there an other way to show and log a winscp session?
Sorry, but I really do not know. You should direct your question to support of your server.

Reply with quote

Advertisement

You can post new topics in this forum