Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 20:29:27 +0200
From:      Laszlo Nagy <gandalf@shopzeus.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssh2 login with public key - not working (solved)
Message-ID:  <46D70C87.7080603@shopzeus.com>
In-Reply-To: <46D70A51.5020700@shopzeus.com>
References:  <46D6EAB4.5060501@shopzeus.com>	<46D6ECEA.5090107@crackmonkey.us>	<46D6F712.8070905@shopzeus.com>	<20070830172743.GB46255@darklight.org.ru> <46D70A51.5020700@shopzeus.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>
> rm -fr /root/.ssh
> cp ~user2/.ssh /root
> chown -R root:wheel /root/.ssh
> chmod 700 /root/.ssh
> chmod 600 /root/.ssh/*
> chmod 700 /root
> ssh -l user1 mybox

Problem solved. I forgot to edit /root/.ssh/config
I still not sure why user recreation worked, but I don't care anymore. 
Thank you for all your help!

 
  Laszlo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D70C87.7080603>