Hi
I am trying to create an sFTP connection with a customer using the SecureBridge Demo prior to embeding the functionality into my application.
I used Public Key
SSH Server = mftp.customername.com
SSH Port = 22
username = myName
private Key = sfpt.customername.com
I beleive I saved the key into client_key.pub
My customer tells me he has acepted my key and I should now be able to connect to their server
Opening SecureBridge with the above settings and selecting Connect SSH start the whole 'key generation' process off again rather than allowing me to connect via sFTP.
I would appreciate any advice.
Thank you for your patience and understanding.
Philip L Jackson
			
									
									
						Total Novice
I don't understand what the problem is. 
You don't need to generate a private key for a connetion every time. You should generate this key once, after this export the public part of the key and send it to your SSH server. After this you can connect using public key authentication without any problems.
			
									
									
						You don't need to generate a private key for a connetion every time. You should generate this key once, after this export the public part of the key and send it to your SSH server. After this you can connect using public key authentication without any problems.
- 
				philipljackson
- Posts: 4
- Joined: Thu 02 Dec 2010 13:04
Total Novice
Re..'You don't need to generate a private key for a connetion every time' Unfortunately the demo does just that.
However, it appears that if you select the option 'Silent Randomization' this stops the key being re generated, but I must say that, to a begginer such as myself, a label description of 'Silent Randomization' is not at all clear what its function is for.
Regards
PLJ
			
									
									
						However, it appears that if you select the option 'Silent Randomization' this stops the key being re generated, but I must say that, to a begginer such as myself, a label description of 'Silent Randomization' is not at all clear what its function is for.
Regards
PLJ
The point is that SecureBridge demo doesn't generate any private key until you click the "Generate key" button. The form that appears before an attempt to establish a connection is used for generating random data used to generate private keys as well as to generate a session key for the current SSH connection. This is necessary for higher security, but you can cancel it by selecting the 'Silent Randomization' option, as you have done.