Hi again, I ran the commands exactly. I see that some keys are not overwritten and skipped---but some are still created. I just tried again...and still get an error. Thoughts to prevent it from overwriting my keys? On Tue, Jul 28, 2015 at 12:53 AM, Darren Tucker <dtucker@xxxxxxxxxx> wrote: > On Tue, Jul 28, 2015 at 1:19 PM, Nick Stanoszek <nstanoszek@xxxxxxxxx> > wrote: > >> Hi I am having issues withupdating ssh from 6.6 to 6.9. When i update it, >> it works; however, I cannot successfully SSH back into the server. I get >> a >> publickey error. >> > > Exactly what error? > > >> I am following the directions here: >> >> >> https://kenkoehlerca.wordpress.com/2015/01/07/upgrading-to-openssh-6-7p1-on-ubuntu/comment-page-1/#comment-4 > > > I would guess that you didn't actually follow those directions, in > particular this bit: > > sudo ./configure –sysconfdir=/etc/ssh > > Leaving aside that there's no need to run that under sudo, omitting the > sysconfdir will end up with the host keys in /usr/local/etc, and since they > won't exist there you'll get a fresh set generated rather than using the > ones in /etc/ssh, which will cause a hostkey mismatch. > > -- > Darren Tucker (dtucker at zip.com.au) > GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 > Good judgement comes with experience. Unfortunately, the experience > usually comes from bad judgement. > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev