Re: failed pub key auth OpenSSH->SSH

From: Phil R Lawrence (prlawrence@lehigh.edu)
Date: 02/19/03


From: Phil R Lawrence <prlawrence@lehigh.edu>
Date: Wed, 19 Feb 2003 14:54:59 -0500

Phil R Lawrence wrote:
> Ed Meagher wrote:
> >
> > ... FreeBSD 4.3 machine
> > ... RedHat 8.0 machine
> > ...I can connect from the FreeBSD machine to the
> > Redhat machine without any trouble but when I go
> > the other way, the public key authentication
> > fails and I get asked for the password.
>
>
> I have a similiar problem. I cannot SSH via public key authentication
> (with no password) from a RH 8.0 machine running OpenSSH 3.4 to an AIX
> machine running SSH 3.1.0 (SSH2).

I found the problem. OpenSSH and ssh.com use different formats for
their keys... ssh-keygen -e -f changes the public key into something
ssh.com can handle.

[CLIENT rt]$ ssh-keygen -e -f .ssh/id_dsa.pub > .ssh/id_dsa_ssh.pub
[CLIENT rt]$
scp .ssh/id_dsa_ssh.pub prl2@remote.name.edu:/home/prl2/.ssh2/rt_dsa.pub

Thanks!
Phil



Relevant Pages

  • Re: public key vs passwd authentication?
    ... > I have a client that's turned off public key authentication. ... > examination of the security aspect, it'd make my job a lot easier/ ... http://www.garlic.com/~lynn/aadsm15.htm#2 Is cryptography where security took the wrong branch? ...
    (comp.security.ssh)
  • Putty to Windows sshd server authentication problem
    ... I am having difficulty with public key authentication between a Putty client on one host and a SSH-Textia Windows server on another host. ... 1488:Ssh2AuthPubKeyServer: Received public key not authorized by authorization file. ...
    (SSH)
  • OpenSSH_3.1p1 auth problems
    ... like to have public key authentication working. ... like to logon to Host-B FROM Host-A using public key auth. ... when I ssh on Host-A ...
    (comp.os.linux.security)
  • OpenSSH_3.1p1 auth problems
    ... like to have public key authentication working. ... like to logon to Host-B FROM Host-A using public key auth. ... when I ssh on Host-A ...
    (comp.security.ssh)
  • Re: sftp upload to Windows 2003 EFS directory fails (using public key authentication)
    ... Windows user accounts, doesn't call LSA for authentication and therefore ... cannot access the user key store to get EFS key. ... access to the EFS-encrypted directory - that might work with public key ... > When I upload a file (via sftp client with public key authentication) ...
    (microsoft.public.windows.server.security)

Quantcast