login about faq

how can i find the path for authorization file and authorized keys for SSH Tectia Server (A/F/T) 5.0?

it was installed on win 2008 R2. i need to enable the public key authentication, and i have uploaded the public key files through SSH Tectia client when i tried to connect to server by batch mode, the sftp2 client shows: FATAL: ssh2 client failed to authenticate.

and the server envet log shows:

708 Publickey_auth_error, Username: xxx, Algorithm: publickey, "Could not find the received public key in user's public key authorization file ((null)) or directory ((null)).", Session-Id: xxx

asked Feb 24 '12 at 05:21

cityudev's gravatar image

cityudev
1224

edited Feb 24 '12 at 05:31


The default path for authorization files on Windows is always under:

%USERPROFILE%\.ssh2

However I would recommend that you upgrade from version 5.0 to at least 5.1 or a newer version as the problems you are seeing could be related to the version you are using.

link

answered Feb 24 '12 at 22:49

Roman's gravatar image

Roman ♦♦
7735817

The problem is: I cannot identify the value of %USERPROFILE% in win 2008 R2.

I had tried to create the .ssh2 folder as

  1. C:Usersusername.ssh2
  2. C:UsersusernameAppData.ssh2
  3. C:UsersusernameAppDataRoaming.ssh2

The authorization file path is ....ssh2authorization

The public key files path is ....ssh2authorized_keys

But all do not work. SSH Tectia Server 5.0 always generate the event log error: 708 Publickey_auth_error, Username: xxx, Algorithm: publickey, "Could not find the received public key in user's public key authorization file ((null)) or directory ((null))."

(Feb 27 '12 at 03:00) cityudev cityudev'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:

×82
×69
×63
×3

Asked: Feb 24 '12 at 05:21

Seen: 5,595 times

Last updated: Feb 27 '12 at 03:02

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