[lug] problems with ssh key authorization after

dan radom dradom at redback.com
Tue Aug 28 22:42:35 MDT 2001


look at ssh_config for Protocol 1,2 and change it to 2,1, or generate dsa (ssh2) keys with ssh-keygen -t dsa.  that public key needs to go in ~/.ssh/authorized_keys2 on the target host.

dan

* charles at lunarmedia.net (charles at lunarmedia.net) wrote:
> 
> the -1 did the trick, however, I am confused as to why its happening. both
> machines are using the same openssh rpm,
> 
>   openssh-2.5.2p2-5
> 
> although the -1 fixes the issue when trying to ssh between the two machine
> and use authorized_keys for authentication, it doesnt help me when i use
> ssh as my transport for rsync transfers. i normally run a few flags with
> rsync, however the one in question is
> 
>   rsync -e ssh
> 
> this uses ssh as my transport, but i dont have anyway to specify that it
> use v1. since both openssh versions are the same on each box, i cant even
> upgrade one to sync them up.
> 
> suggestions?
> 
> thanks in advance! -charles
> 
> On Mon, 27 Aug 2001, G. Mallen wrote:
> 
> > There are two versions of the ssh protocol. Sometimes the problem comes from a
> > machine using the second protocol trying to connect to another that only handles
> > the first protocol. You can try the -1 switch in ssh to force the first
> > protocol.
> >
> > Guillermo
> >
> >
> > > Message: 3
> > > Date: Mon, 27 Aug 2001 08:00:28 -0500 (CDT)
> > > From: <charles at lunarmedia.net>
> > > To: LUG-DISCUSS <lug at lug.boulder.co.us>
> > > Subject: [lug] problems with ssh key authorization after upgrade to RH7.1
> > > Reply-To: lug at lug.boulder.co.us
> > >
> > > i recently upgraded a RH6.2 machine to RH7.1. previously i had a trust set
> > > up between a user on the 6.2 machine and i remote box using ssh
> > > private/public keys with empty passphrases. after the upgrade however,it
> > > seems as though the machine is not passing its key information to the
> > > remote machine as i am being prompted for a password when logging in
> > > whereas before i was not.
> > >
> > > i have done a diff on the old and new /etc/ssh/sshd_config files and dont
> > > immediately see anything that stands out as being the problem. i
> > > regenerated my public/private key and scp'd them to the remote machine and
> > > overwrote the old entry in the remote user's authorized_keys file, but
> > > still not luck.
> > >
> > > any suggestions?
> > >
> > > thanks! -charles
> > >
> > > --__--__--
> > >
> > >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list