Find the answer to your Linux question:
Results 1 to 2 of 2
Hello Everyone, I have generated a public SSH key in the server and it is located at /root/.ssh. Now i have a windows 7 system and i wanted to connect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    7

    SSH Proper Tutorial


    Hello Everyone,

    I have generated a public SSH key in the server and it is located at /root/.ssh. Now i have a windows 7 system and i wanted to connect to that server using that key. How can i do that with windows server 7 as client

    I know this is a silly question but i have books and none of them explain how to connect to a server with windows 7

    Regards
    Fear_Matrix

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    First, you need to copy the public part of your key to ~/.ssh/authorized_keys2

    Then you need a ssh client on windows.
    Putty is usually used.

    However, putty cannot directly use openssl keys.
    Convert them first with PuTTYgen.

    Two notes:
    a) Be sure, that the private key does have a passphrase
    b) It is common practice to disallow remote root logins. Better way is to use regular accounts, that can then escalate to root.
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •