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

From: Tonij (tonij67_at_hotmail.com)
Date: 06/22/04


Date: 22 Jun 2004 07:38:35 -0700

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 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

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.

I am using OpenSSH_3.7.1p1 on both systems, and need to connect to a
Windows box from a Solaris 9 system. The Solaris 9 system interacts
with many other Solaris systems using key authentcation with no
issues. In fact, I am using the exact same id_pub entry on this
Windows box that I have on many Solaris systems.

Any ideas? Is there a way to force the connection to look for the key
in a given place? i.e.

ssh <some command telling this host to find the id_pub on the remote
host) <remote_host>

Failing this, I would settle for a way to pass the password to my
script (I know it sucks but I am up againts a tight deadline here)



Relevant Pages

  • Re: OS X "Security" myths
    ... His son figured out how to perform a "Denial Of Service" attack on UNIX systems. ... So what does this tell you about the design of windows?? ... hackers use Unix systems to do their dirty-work themselves. ... the malware writers will begin concentrating more of their time and resources on Apple. ...
    (comp.sys.mac.advocacy)
  • Re: Anti-Virus Software Suggestions
    ... >>> Only these four simple rules to follow and Windows will be secure? ... You are saying that unix systems are *far* more vulnerable than ... >compromised Unix systems which have been turned into 'zombies', ...
    (rec.photo.digital)
  • Re: Can this be done?
    ... This process happens way faster to the Unix systems then it has and will to ... >>> If you want a safew fire wall you should NOT be thinking Windows. ... >>> without you having to know anything about Linux. ...
    (comp.security.firewalls)
  • Re: Christoffel Symbol and Riemann Curvature Tensor
    ... Windows does not support such a machine. ... much of the HP computing work is done remotely (you don't ... MS Windows is still not up to X on Unix systems, ...
    (sci.physics.relativity)
  • DSA Key Authentication
    ... I'm using OpenSSH from NetworkSimplicity on a ... Windows 2000 Server. ... My users are connecting from Windows 2000 and XP ... The key authentication works great. ...
    (comp.security.ssh)