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 at zip.com.au> wrote:> On Tue, Jul 28, 2015 at 1:19 PM, Nick Stanoszek <nstanoszek at gmail.com> > 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. >
On Wed, Jul 29, 2015 at 12:06 AM, Nick Stanoszek <nstanoszek at gmail.com> wrote:> Hi again, > > I ran the commands exactly. I see that some keys are not overwritten and > skipped---but some are still created. >You may be able to see that, but we can't unless you show us what it said, and you didn't. I just tried again...and still get an error.>quoting from my previous response: "Exactly what error?"> Thoughts to prevent it from overwriting my keys? >You have not provided sufficient information to do anything more that guess, and I've already done that. -- 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.
My apologies Darren, The error i get is a "PUBLICKEY" error as noted previously. Nicks-MacBook-Pro:Downloads$ ssh -i WHATEVERKEY.pem ubuntu at IPADDRESS Permission denied (publickey). Nicks-MacBook-Pro:Downloads$ I followed the directions as noted in the previous email to a T. Just copied and pasted---and used v6.9 ssh (which is the latest). What other info do you need? Thanks Nick On Tue, Jul 28, 2015 at 7:19 PM, Darren Tucker <dtucker at zip.com.au> wrote:> On Wed, Jul 29, 2015 at 12:06 AM, Nick Stanoszek <nstanoszek at gmail.com> > wrote: > >> Hi again, >> >> I ran the commands exactly. I see that some keys are not overwritten and >> skipped---but some are still created. >> > > You may be able to see that, but we can't unless you show us what it said, > and you didn't. > > I just tried again...and still get an error. >> > > quoting from my previous response: "Exactly what error?" > > >> Thoughts to prevent it from overwriting my keys? >> > > You have not provided sufficient information to do anything more that > guess, and I've already done that. > > -- > 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. >