login about faq

I am having issue with establishing connection between two different versions of secure shell. Please help me on how to generate keys that will work for between these two versions and also how to set up the files on remote and local server?

asked Jun 22 '11 at 17:45

Krish's gravatar image

Krish
1224

edited Jun 22 '11 at 22:02

Roman's gravatar image

Roman ♦♦
7735817

Hi, can you please include version numbers for both client and server in use?

(Jun 22 '11 at 21:13) Roman ♦♦ Roman's gravatar image

On client: $ man ssh sshg3(1) NAME sshg3 - Secure Shell terminal client - Generation 3

On Remote: SSH(1) NAME ssh - OpenSSH SSH client (remote login program)

When i try telnet to find the versions of secure shell: $ telnet Client 22 Trying ipaddress... Connected to client. Escape character is '^]'. SSH-2.0-6.0.5.7 SSH Tectia Server

$ telnet Server 22 Trying ipaddress... Connected to Server. Escape character is '^]'. SSH-2.0-OpenSSH_4.3

(Jun 22 '11 at 21:58) Krish Krish's gravatar image

ok thanks. You can also find out the version of the client by running the "sshg3 -V" command.

(Jun 22 '11 at 22:02) Roman ♦♦ Roman's gravatar image

On Client: $ sshg3 -V sshg3: SSH Tectia Client 6.0.5 on x86_64-unknown-linux-gnu Build: 7 Product: SSH Tectia Client License type: commercial

On Server/Remote: $ sshg3 -V -ksh: sshg3: not found [No such file or directory]

(Jun 22 '11 at 22:12) Krish Krish's gravatar image

Have you tried this answer?

Alternatively you could also generate the key using OpenSSH tools and import the public and private keys to Tectia Client.

Update:

So you basically have two options:

Option 1

Generate the key pair on the client host (running Tectia Client) and upload the public key to the OpenSSH server as outlined in here.

Option 2

Generate the key pair on the OpenSSH server host and copy both the private and public keys to Tectia Client under your $HOME/.ssh2 directory.

These are all assuming that what you are trying to do is setup public key authentication from the client (running Tectia) to the server (running OpenSSH) and not viceversa.

link

answered Jun 22 '11 at 22:10

Roman's gravatar image

Roman ♦♦
7735817

edited Jun 22 '11 at 22:25

I tired creating the keys on both the servers and passing them over to other server. In both the approaches I allways had the private key on client and publick key on server.

(Jun 22 '11 at 22:15) Krish Krish's gravatar image

Did you follow the steps in the linked answer from above exactly? If so, what error do you get when it fails? Also please check the server log on the OpenSSH server for any errors.

(Jun 22 '11 at 22:21) Roman ♦♦ Roman's gravatar image

Thanks Roman... I have done that and it works without giving the password. But I am faicng issue with: Host key for the host "Remote-server" not found from database. This causes failue for me in scripts as it keeps asking input to save the new fingerprint everytime i do sftp/ssh. But when I tired to compare the the fingerprint of the key stored in hostfiles folder on ssh2 and to that of openssh publick key they completly differe in format.

Please help me to fix the issue: Host key for the host "Remote-server" not found from database.

(Jun 23 '11 at 19:19) Krish Krish's gravatar image

Good to know that was resolved. Could you rather enter this as a separate question? and include if there if it's the same setup (Tectia Client on Linux against an OpenSSH server) or something different.

(Jun 23 '11 at 21:05) Roman ♦♦ Roman'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
×38

Asked: Jun 22 '11 at 17:45

Seen: 8,523 times

Last updated: Jun 23 '11 at 21:05

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