Bugzilla – Attachment 3232 Details for
Bug 2960
Send a message to syslog when "ForceCommand internal-sftp" is used and a ssh connection is dropped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
file_2960.txt (text/plain), 391 bytes, created by
Jakub Jelen
on 2019-01-31 23:48:18 AEDT
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2019-01-31 23:48:18 AEDT
Size:
391 bytes
patch
obsolete
>diff --git a/session.c b/session.c >--- a/session.c >+++ b/session.c >@@ -1859,6 +1859,7 @@ do_child(Session *s, const char *command) > > if (s->is_subsystem == SUBSYSTEM_INT_SFTP_ERROR) { > printf("This service allows sftp connections only.\n"); >+ logit("The session allows sftp connections only"); > fflush(NULL); > exit(1); > } else if (s->is_subsystem == SUBSYSTEM_INT_SFTP) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2960
:
3232
|
3241