login about faq

Hi,

I'm trying to use Tectia client (6.2) to connect using SFTP to a home directory of a remote Red Hat Enterprise Linux server. Everything I have read about Tectia suggests that the public and private keys are created in Tectia then the public key is uploaded to the remote host.

I want to create public/private keys for a user in the RHEL environment then import the public key into Tectia which will then connect to my RHEL server using SFTP and this username/password.

Is this possible? If so, how do i convert my public key taken from RHEL into a format accepted by Tectia?

asked Sep 05 '12 at 17:25

MrGrim's gravatar image

MrGrim
6113


Tectia Client also has a "public key upload wizard" that you could use as well.

Note: The wizard will only work if the remote SSH server allows remote command execution to be used, so if the remote SSH server only allows SFTP/SCP access, you cannot use the wizard.

You can start the GUI wizard like this:

  1. Right-click "Tectia" task bar icon
  2. Select "Configuration"
  3. Navigate to "User Authentication" -> "Keys and Certificates"
  4. Click "Upload" to start the GUI wizard

You can also start the key upload wizard from the command line (works on Windows, Linux, Unix, zOS):

  1. Open command prompt/terminal
  2. Run command:

      ssh-broker-ctl key-upload
    

ps. Tectia Client's/ConnectSecure's "ssh-broker-ctl" control tool is extremely nice tool for people who prefer to work from the command line (works on Windows, Linux, Unix and z/OS):

alt text

link

answered Sep 05 '12 at 18:37

Sami%20Marttinen's gravatar image

Sami Marttinen ♦
191114

Red Hat is most likely using OpenSSH and the OpenSSH in turn is using its own key format. You will need to convert the standard IETF RFC 4716 format .pub key file (Tectia is using) to OpenSSH format.

Run this command on that Red Hat host to convert the uploaded Tectia's .pub file to OpenSSH format:

 ssh-keygen -i -f id_dsa_2048_a.pub >> $HOME/.ssh/authorized_keys"

Of course check that the used file name is correct in the previous command.

link

answered Sep 05 '12 at 18:22

Sami%20Marttinen's gravatar image

Sami Marttinen ♦
191114

Thanks for your help, this has been great.

link

answered Sep 05 '12 at 19:09

MrGrim's gravatar image

MrGrim
6113

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:

×81
×63
×3

Asked: Sep 05 '12 at 17:25

Seen: 4,496 times

Last updated: Sep 05 '12 at 19:09

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.