Re: Urgent request: Where does the authorized_keys file have to go on a Windows system?

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 06/22/04

  • Next message: Mikael: "login restrictions"
    Date: Tue, 22 Jun 2004 15:17:49 GMT
    
    

    Tonij <tonij67@hotmail.com> wrote:
    > At my wits end here; I have set up many Unix systems to use
    > public/private key authentication using DSA keys. I know that the
    > authorized_keys file goes in the /home/<user>/.ssh directory. But I
    > have a need to connect to a Windows server running SSH

    OpenSSH?

    > and for the
    > life of me cannot find the correct place to put this file. I have
    > tried:

    > c:\program files\openssh\.ssh
    > c:\documents and settings\<user>\.ssh
    > c:\.ssh

    Is this under cygwin? Does the user exist in /etc/passwd? If so,
    that's where the home directory is specified.

    > And no matter where I put the authorized_keys file, I am still
    > prompted for a password. I know how sensative this can be in unix,
    > the pub key file is one line, must have correct permissions, etc. but
    > I am unable to find any documentation detailing how this crosses over
    > into the Windows world.

    Again, you should be able to run the sshd in debug mode on the server to
    see warnings or errors about finding the authorization files.

    -- 
    Darren Dunham                                           ddunham@taos.com
    Senior Technical Consultant         TAOS            http://www.taos.com/
    Got some Dr Pepper?                           San Francisco, CA bay area
             < This line left intentionally blank to confuse you. >
    

  • Next message: Mikael: "login restrictions"