We help IT Professionals succeed at work.

locating 'ssh' public key on windows box

Medium Priority
Last Modified: 2012-05-06
ok... my windows box is running WRQ reflection 6 ssh server... i'm not a microsofty so i try and do what i normally do... create a public key at the client node (with ssh-keygen) and copy it onto the windows box at <username home>\.ssh\authorized_keys... but when i try, say, an 'scp' from the client - the connection is refused... presumably the way to configure the public key at the server end is different for windows(?)... have tried googling it, but all i need is a simple template example to follow and all my dreams will come true (well... maybe i'll get to keep my job, which is the next best thing!)
AHA - thanks roger
Watch Question

Most Valuable Expert 2013
Top Expert 2013
did you try this, as written in
http://docs.attachmate.com/reflection/rsit-ssh/6.1/rsit61_win_server.pdf  ?
Click Public Key in the Reflection for Secure IT Server Configuration contents to
view the Public Key pane. In the Public Key pane, you can define an authentication
method that uses the public key method with certificates for authentication.

User key directory
Specify the directory where the server looks for user keys.
The following pattern strings can be used:
 %D  user profile directory
 %U  user login name
The default user key directory is the .ssh2 directory located in the users profile
directory (%D/.ssh2).


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


thanks woolmilkporc... i need to work through what you've suggested... plse bear with me for a day or so!


many thanks woolmilkporc (crazy handle!) ... sorted
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.