Bug 498 - make ssh default identity configuration more user-friendly in cygwin
Summary: make ssh default identity configuration more user-friendly in cygwin
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: All All
: P2 enhancement
Assignee: OpenSSH Bugzilla mailing list
URL: http://www.openbsd.org/cgi-bin/man.cg...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 09:19 AEDT by Ralf Hauser
Modified: 2003-05-18 11:38 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hauser 2003-02-19 09:19:42 AEDT
my ssh under cygwin has no
~/.ssh/identity
~/.ssh/id_?sa

and as per http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config no
~/.ssh/config nor
/etc/ssh/ssh_config

but for some odd reason, it goes to 

/rsync/.ssh/identity
 ??? (since I placed an identity file there without a password, before using
-vvv, it was hard to find it...)
Comment 1 Corinna Vinschen 2003-02-19 18:49:17 AEDT
Apparently you didn't read /usr/doc/Cygwin/openssh-3.5p1.README.

Run ssh-host-config to create the host configuration files and keys
and run ssh-user-config to create your personal keys in ~/.ssh.
Comment 2 Ralf Hauser 2003-02-19 21:42:05 AEDT
O.K, I did it:

<<rhauser@PC:~/<2>Man/cat1> ssh-user-config

Configuration finished. Have fun!>>

I thought I would now be asked something (why would I be able to specify a "-y"
or "-n" option otherwise anyway? 
Conclusion, it still doesn't give a clue from which directory it did what...

====> Suggestion: add a "-v" option that tells in an end-user-intelligible way
what happens.
(sure, there is the "-d" option that eventually utters 
"+ [ ! -f /rsync/.ssh/identity ]" - but this appears to be
development-team-internal...)

P.S.: Especially when clicking on wincvs, it is not that obvious to find out why
this happens ... see
https://sourceforge.net/tracker/?func=detail&aid=689081&group_id=10072&atid=110072
Comment 3 Corinna Vinschen 2003-02-19 21:54:17 AEDT
As I told you on the cygwin ML, check your home dir in /etc/passwd.
Your description points to /rsync being set as your home dir in /etc/passwd.

If you'd look into the ssh-user-config script you'd find that it uses
your home dir from /etc/passwd same as ssh does.  It does especially
*NOT* use the value of $HOME, same as ssh.
Comment 4 Ralf Hauser 2003-02-19 22:46:09 AEDT
Thx for the additional explanation.

I change the title and now classify it as an enhancement request for an
intelligible "-v".

If this ssh-user-config business really only applies to cygwin, I would
appreciate a pointer to a bug-tracking system of them in order to close it here
and open it there.
Comment 5 Damien Miller 2003-02-24 12:57:36 AEDT
Cygwin reports via http://cygwin.com/bugs.html, not here.