Re: Cygwin: store authorized_keys in /etc/ssh/user/authorized_keys?

This is a discussion on Re: Cygwin: store authorized_keys in /etc/ssh/user/authorized_keys? within the OpenSSH Development forums, part of the Networking and Network Related category; Harald Dunkel wrote: > Hi folks, > > If I try to login on a Cygwin host via ssh, then ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-13-2007
Darren Tucker
 
Posts: n/a
Default Re: Cygwin: store authorized_keys in /etc/ssh/user/authorized_keys?

Harald Dunkel wrote:
> Hi folks,
>
> If I try to login on a Cygwin host via ssh, then my
> .ssh on a network drive is unaccessible until I login.
> I have to enter my password, even if my authorized_keys
> would allow me to login without. This is fatal, since it
> forces me to use an interactive session for working on a
> Windows host. Unusable for automatic builds and tests
> managed from a central machine, for example.
>
> There is no such restriction if I create local
> accounts on every Cygwin PC, using local disks for
> $HOME/.ssh. Highly inefficient and troublesome, I have
> to rsync my data again and again, but it works.
>
> Would it be possible to extend auth2-pubkey.c to
> look in /cde/ssh/$LOGNAME/authorized_keys for the
> public key, in addtition to the user's .ssh directory?
> Of course the usual access restrictions should be
> checked. And it should be made a configure option
> for the ssh server. I don't want to change the default
> behavior.


Any reason you don't use the existing AuthorizedKeysFile knob in
sshd_config? eg "AuthorizedKeysFile /etc/ssh/keys/%u"

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0