Subject: [libssh2] Publickey auth with SSH Tectia servers

[libssh2] Publickey auth with SSH Tectia servers

From: Mononen Jussi <Jussi.Mononen_at_comptel.com>
Date: Thu, 11 Jan 2007 14:08:33 +0200

Hi,

has anyone encountered probelms authentitcating with publickey against
SSH Corp. Tectia servers? I am trying to connect using keys but so far
it seems that Tectia refuses because the publickey given in
SSH_MSG_USERAUTH_REQUEST is in OpenSSH format and it should be in SECSH
format.

The problem is that if I try to use libssh2_file_read_publickey
-function with a publickey converted to SECSH format it failes "Invalid
key data, not base64 encoded". As a result I can use only OpenSSH
formatted keys and that is unacceptable from the Tectia server point of
view.

How am I supposed to use libssh2 with Tectia servers if I can not tell
the server to use the converted key?

/jUSSi

-- 
perl -e '$@=[[0,0112,0,0],[0,0101,0,0],
[0,0120,0,0],[0,0110,0,0]];$[=256/8-0x1D;
print(chr(@{$_}[+($[+1-1+1)]))for(@{$@});'
Disclaimer: This message and any attachments thereto are intended solely for
the addressed recipient(s) and may contain confidential information. If you
are not the intended recipient, please notify the sender by reply e-mail and
delete the e-mail (including any attachments thereto) without producing,
distributing or retaining any copies thereof. Any review, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient(s) is prohibited.
Thank you.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-01-11