[ssh.c]
Better diagnostic if an identity file is not accesible. ok markus@ djm@
+20050301
+ - (djm) OpenBSD CVS sync:
+ - otto@cvs.openbsd.org 2005/02/16 09:56:44
+ [ssh.c]
+ Better diagnostic if an identity file is not accesible. ok markus@ djm@
+
20050226
- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
Remove two obsolete Cygwin #ifdefs. Patch from vinschen at redhat.com.
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.230 2004/11/07 17:57:30 jmc Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.231 2005/02/16 09:56:44 otto Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
case 'i':
if (stat(optarg, &st) < 0) {
fprintf(stderr, "Warning: Identity file %s "
- "does not exist.\n", optarg);
+ "not accessible: %s.\n", optarg,
+ strerror(errno));
break;
}
if (options.num_identity_files >=