Bugzilla – Attachment 1772 Details for
Bug 1694
If authorized_keys exists but can not be opened, this should be logged on server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ssh-pubkey-debug.patch
ssh-pubkey-debug.patch (text/plain), 681 bytes, created by
Darren Tucker
on 2010-01-10 18:09:43 AEDT
(
hide
)
Description:
ssh-pubkey-debug.patch
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2010-01-10 18:09:43 AEDT
Size:
681 bytes
patch
obsolete
>Index: auth.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/auth.c,v >retrieving revision 1.80 >diff -u -p -r1.80 auth.c >--- auth.c 4 Nov 2008 07:58:09 -0000 1.80 >+++ auth.c 10 Jan 2010 06:16:20 -0000 >@@ -393,8 +393,12 @@ auth_openkeyfile(const char *file, struc > * Open the file containing the authorized keys > * Fail quietly if file does not exist > */ >- if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) >+ if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) { >+ if (errno != ENOENT) >+ debug("Could not open keyfile '%s': %s", file, >+ strerror(errno)); > return NULL; >+ } > > if (fstat(fd, &st) < 0) { > close(fd);
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 Raw
Actions:
View
Attachments on
bug 1694
:
1771
| 1772