Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log of failed logins #1724

Closed
rafelamer opened this issue Nov 14, 2020 · 2 comments · Fixed by #1947
Closed

Log of failed logins #1724

rafelamer opened this issue Nov 14, 2020 · 2 comments · Fixed by #1947

Comments

@rafelamer
Copy link

In the file scp_v0.c, the allowed logins are logged with the code

log_message(LOG_LEVEL_INFO, "++ created session (access granted): username %s, ip %s", s->username, s->client_ip);

and the username and client_ip are logged.

It is possible the log the failed logins? I think it will be useful.

Regards,
Rafel Amer
Technic University of Catalonia

@metalefty
Copy link
Member

I agree. It is quite useful.

@matt335672
Copy link
Member

I'm working on this area at the moment for a fix for #1684. I'll pick this one up at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants