login about faq

I have searched the forum, but didnt find anything helpful...

I have a server that is running Tectia (not sure how to check version). I would like to be able to connect to it from another server that is running openssh. I have tried several methods of key generation and setup to no avail.

How do I go about generating/setting keys in openssh and getting them to work with the server running tectia?

asked Jul 29 '10 at 23:02

Scott's gravatar image

Scott
1

edited Sep 21 '11 at 16:36

SSH%20KB's gravatar image

SSH KB ♦
509249246237


Hi Scott,

The answers on this question show some examples on how to check the version of the server: http://answers.tectia.com/questions/29/i-am-connected-using-tectia-client-on-windows-to-a-remote-server-how-can-i-tell

If the server is a Tectia Server 6.0 or newer you could try the following:

Note that for this to work, public key authentication needs to be allowed in the server. It's enabled by default on Tectia server but of course it may have been disabled by the administrator

  1. Generate a public key pair on the client using openssh tools, such as:

    ssh-keygen -f mykey

    It will prompt you for a passphrase. It's possible to enter an empty passphrase, but this is not recommended.

    This will create two files on the client, the private part (mykey) and the public (mykey.pub) part of the key pair. Make sure that the permissions on your private key are secure (only you should have read/write access to it). The public part is the one you can share to the server.

  2. Open a remote terminal connection to the Tectia server and create the following directories on your home directory:

    .ssh2/authorized_keys

  3. Finally copy the public key (mykey.pub) you just generated in step 1 to the directory you just created on the server in step 2. Such as:

    scp mykey.pub user@server:.ssh2/authorized_keys/

And you're done. You should now be able to connect using public key authentication using your OpenSSH client:

ssh -i mykey user@server

This should prompt for the passphrase of your key (or no prompt if you chose an empty passphrase) and authenticate you to the server.

link

answered Aug 06 '10 at 13:15

Roman's gravatar image

Roman ♦♦
7735817

I have checked the tectia version - it is:

--> ssh -V ssh: SSH Tectia Client 6.0.2 on powerpc-ibm-aix5.1.0.0 Build: 84 Product: SSH Tectia Client License type: commercial

Following the directions above results in my still being prompted for my login password. Is there something else that needs to be done so that keys will work with Tectia?

(Aug 26 '10 at 14:50) Scott Scott's gravatar image
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:

×54
×23
×19
×6

Asked: Jul 29 '10 at 23:02

Seen: 9,120 times

Last updated: Sep 21 '11 at 16:36

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