login about faq

I followed the instructions as documented in this answer. I was able to get this to work only if I used the default key name of "id_rsa". If I use any other name, it doesn't work.

The client is a Linux server with OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 The target server is Linux with SSH Tectia Client 6.1.0 Build 668.

I want to have a script running on the client to be able to connect to the server with scp. While I can get it to work with "id_rsa.pub", I need other clients to also be able to do the same. But only one file may exist in the server's .ssh2/authorized_keys with the name id_rsa.pub. I need to be able to use different key names. Tried over an over, but cannot get this to work.

asked Nov 06 '14 at 01:46

Fred_de_Grey's gravatar image

Fred_de_Grey
1111

converted to question Nov 09 '14 at 20:58

Roman's gravatar image

Roman ♦♦
7735817


Hi Fred,

I assume you authorizing your public key by placing it in the .ssh2/authorized_keys directory on the Linux server which is running Tectia Server. If that's the case it does not really matter what is the actual name of the filename that contains the public key (in this case "id_rsa.pub").

If you want to authorize a key pair from another client, just follow the same steps, but rename the id_rsa.pub to something else (naming it after the client host and username is usually good, e.g. john_myclienthostname.pub) and place the key in the same .ssh2/authorized_keys directory on the server. It should work just as well.

If you are still having issues, please describe step by step what you are doing.

link

answered Nov 09 '14 at 21:07

Roman's gravatar image

Roman ♦♦
7735817

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

Asked: Nov 06 '14 at 01:46

Seen: 2,447 times

Last updated: Nov 09 '14 at 21:07

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