diff options
author | 2005-02-16 09:56:44 +0000 | |
---|---|---|
committer | 2005-02-16 09:56:44 +0000 | |
commit | badd05e6db1a9407bcc393c54c37c89a201e466b (patch) | |
tree | e11d248f95af7390dc7842806086b370670da5b0 /usr.bin/ssh/ssh.c | |
parent | add /usr/X11R6/bin to the default PATH here. ok pval@. (diff) | |
download | wireguard-openbsd-badd05e6db1a9407bcc393c54c37c89a201e466b.tar.xz wireguard-openbsd-badd05e6db1a9407bcc393c54c37c89a201e466b.zip |
Better diagnostic if an identity file is not accesible. ok markus@ djm@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 77febd6afa1..c767dc7840b 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,7 +40,7 @@ */ #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> @@ -292,7 +292,8 @@ again: 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 >= |