SSH command line behavior with explicit identity file

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



  Hello,

I got a trouble with ssh command line when investigating a connection issue
to a (Stash/Git) server.

When invoking "ssh -p 7999 -i /path/to/my/id_dsa git@stashserver"
I just got the answer
"Permission denied (publickey)."

I had to enable traces: "ssh -t -p 7999 -i /path/to/my/id_dsa
git@stashserver"
to understand why:

debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: could not open key file '/path/to/my/id_dsa': Permission denied
debug1: No more authentication methods to try.
Permission denied (publickey).

In my opinion, I would expect that ssh command outputs to stderr the "could
not open key file '/path/to/my/id_dsa': Permission denied" message when a
identity file is explicitly given in options.

What do you think about that error handling proposal ?

Thank you for your attention
Best regards
-- 
Yves Martin
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux