We have a remote server (Server1), with a rebex based SFTP application installed on it. It needs to send files to a distant server (Server2).

Can I generate a public/private key pair (dsa) on my own PC, install the private key on Server1, and give the public key to the adminstrator of Server2?

Or must the key pair be generated on Server1?

asked 11 Aug '11, 16:02

petermodonnell's gravatar image

petermodonnell
9
accept rate: 0%


Your assumption is correct. The public/private key pair can be generated on any PC.

If you want to be able to connect from the Server1 (client) to the Server2 (host) and use key-based login, you need to copy private key to the Server1 and public key to the Server2.

How to generate DSA public/private key pair is described e.g. here

link

answered 12 Aug '11, 11:18

Lukas%20Matyska's gravatar image

Lukas Matyska ♦♦
90117
accept rate: 28%

Thanks Lukas, the KeyGenerator the comes with the Rebex samples does the trick to :)

(12 Aug '11, 11:28) petermodonnell
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×141

Asked: 11 Aug '11, 16:02

Seen: 319 times

Last updated: 12 Aug '11, 11:59