Loading ...
Sorry, an error occurred while loading the content.

RE: [nslu2-general] OpenSSH not recognizing my key

Expand Messages
  • Bryan and Mary Lynch
    Thanks for all your help...that why I love linux thus far..If I search hard enough I almost always find the answer.If I can t find the answer someone always is
    Message 1 of 7 , May 29 12:20 AM
    • 0 Attachment
      Thanks for all your help...that why I love linux thus far..If I search hard
      enough I almost always find the answer.If I can't find the answer someone
      always is around to help. Thanks to everyone. -Bryan



      _____

      From: nslu2-general@yahoogroups.com [mailto:nslu2-general@yahoogroups.com]
      On Behalf Of Rod Whitby
      Sent: Sunday, May 29, 2005 12:10 AM
      To: nslu2-general@yahoogroups.com
      Subject: Re: [nslu2-general] OpenSSH not recognizing my key



      There is usually a space between the key and the comment field.

      On 5/29/05, Bryan and Mary Lynch <bm@...> wrote:
      > I removed the "root@nslu2fserve" portion at the end of the key and it now
      > accepts it! It works now, but shouldn't each key in "authorized_keys" be
      > associated with a user account or root?
      >
      >
      >
      > _____
      >
      > From: nslu2-general@yahoogroups.com [mailto:nslu2-general@yahoogroups.com]
      > On Behalf Of Rod Whitby
      > Sent: Saturday, May 28, 2005 11:20 PM
      >
      > To: nslu2-general@yahoogroups.com
      > Subject: Re: [nslu2-general] OpenSSH not recognizing my key
      >
      >
      >
      > Looks like your public key file format is corrupted. Copy it over to
      > the nslu2, and make sure that you don't change the format, remove an
      > characters, or remove or add any line breaks.
      >
      > On 5/29/05, Bryan and Mary Lynch <bm@...> wrote:
      > > Here is what I get from var/log/messages file when trying to
      authenticate
      > > using my key.any ideas?:
      > >
      > >
      > >
      > > <35>May 28 22:22:16 sshd[791]: error: key_read: uudecode
      > >
      >
      AAAAB3NzaC1yc2EAAAABJQAAAIEAq/dKRcKJ7jPZQcUWsqqsKxu3/CxPeAc1AmLR34jWoJOIa7dK
      > >
      >
      Vfa9O1+xWBkkFsXrcK/+hYw/jam+1BUk7m7QPCqG6mhUVW+azMWG//0otdo98bQlI4hP3iHkNXgH
      > >
      > E4DLucatwLkotLjBNZh6nbe8nUzkCGdBqaxCt/qB3Qjynp0=root@nslu2fserve
      > > failed
      > >
      > >
      > >
      > > <35>May 28 22:22:16 sshd[791]: error: key_read: uudecode
      > >
      >
      AAAAB3NzaC1yc2EAAAABJQAAAIEAq/dKRcKJ7jPZQcUWsqqsKxu3/CxPeAc1AmLR34jWoJOIa7dK
      > >
      >
      Vfa9O1+xWBkkFsXrcK/+hYw/jam+1BUk7m7QPCqG6mhUVW+azMWG//0otdo98bQlI4hP3iHkNXgH
      > >
      > E4DLucatwLkotLjBNZh6nbe8nUzkCGdBqaxCt/qB3Qjynp0=root@nslu2fserve
      > > failed
      > >
      > >
      > >
      > > <35>May 28 22:22:18 sshd[791]: error: Could not get shadow information
      for
      > > root
      > >
      > >
      > >
      > > _____
      > >
      > > From: nslu2-general@yahoogroups.com
      [mailto:nslu2-general@yahoogroups.com]
      > > On Behalf Of Rod Whitby
      > > Sent: Saturday, May 28, 2005 9:22 PM
      > > To: nslu2-general@yahoogroups.com
      > > Subject: Re: [nslu2-general] OpenSSH not recognizing my key
      > >
      > >
      > >
      > >
      > > Check the /var/log/messages file to see what OpenSSH is saying is
      > > wrong. It's probably permissions on the .ssh directory, or on one of
      > > the many parent directories up to / (OpenSSH is very fussy about
      > > permissions).
      > >
      > > -- Rod
      > >
      > > On 5/28/05, Bryan and Mary Lynch <bm@...> wrote:
      > > > OK everyone, I've searched the mailing lists, the wiki, and around the
      > web
      > > > with Google. Either the answer isn't there (which I highly doubt), or
      > > it's
      > > > staring me right in the face and I'm just not seeing it.
      > > >
      > > >
      > > >
      > > > Running Unslung 4.20.
      > > >
      > > > Installed MT-daap-d (very nice, btw)
      > > >
      > > > Installed OpenSSH and followed every instruction EXACTLY at
      > > >
      > >
      > http://www.nslu2-linux.org/wiki/HowTo/UseOpenSSHForRemoteAccess
      > > >
      > > >
      > > >
      > > > My problem is that I'm able to telnet in, I'm able to SSH in using
      PuTTy
      > > and
      > > > my root password.
      > > >
      > > >
      > > >
      > > > When I try to login with PuTTy using my private key file, I get
      "Server
      > > > refused our key"
      > > >
      > > >
      > > >
      > > >
      > > >
      > > > Some background: I'm definitely a novice with Linux, but I'm eager,
      > > > interested, and learning a lot very quickly. I just cannot seem to
      find
      > > > this answer on my own thus far. I honestly have given it my best shot
      > at
      > > > figuring this out on my own...but guys, I need some help here! :-)
      > > >
      > > >
      > > >
      > > > Any advice/recommendations that anyone can offer would be
      > greatly.greatly
      > > > appreciated.
      > > >
      > > >
      > > >
      > > > Thanks in advance.
      > > >
      > > >
      > > >
      > > > -Bryan
      > > >
      > > >
      > > >
      > > >
      > > >
      > > > [Non-text portions of this message have been removed]
      > > >
      > > >
      > > >
      > > >
      > > > ________________________________
      > > > Yahoo! Groups Links
      > > >
      > > > To visit your group on the web, go to:
      > > > http://groups.yahoo.com/group/nslu2-general/
      > > >
      > > > To unsubscribe from this group, send an email to:
      > > > nslu2-general-unsubscribe@yahoogroups.com
      > > >
      > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      > >
      > >
      > >
      > > _____
      > >
      > > Yahoo! Groups Links
      > >
      > > * To visit your group on the web, go to:
      > > http://groups.yahoo.com/group/nslu2-general/
      > >
      > > * To unsubscribe from this group, send an email to:
      > > nslu2-general-unsubscribe@yahoogroups.com
      > >
      > <mailto:nslu2-general-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      > >
      > > * Your use of Yahoo! Groups is subject to the Yahoo!
      > > <http://docs.yahoo.com/info/terms/> Terms of Service.
      > >
      > >
      > >
      > > [Non-text portions of this message have been removed]
      > >
      > >
      > > ________________________________
      > > Yahoo! Groups Links
      > >
      > > To visit your group on the web, go to:
      > > http://groups.yahoo.com/group/nslu2-general/
      > >
      > > To unsubscribe from this group, send an email to:
      > > nslu2-general-unsubscribe@yahoogroups.com
      > >
      > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      >
      >
      >
      > _____
      >
      > Yahoo! Groups Links
      >
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/nslu2-general/
      >
      > * To unsubscribe from this group, send an email to:
      > nslu2-general-unsubscribe@yahoogroups.com
      > <mailto:nslu2-general-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo!
      > <http://docs.yahoo.com/info/terms/> Terms of Service.
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      > ________________________________
      > Yahoo! Groups Links
      >
      > To visit your group on the web, go to:
      > http://groups.yahoo.com/group/nslu2-general/
      >
      > To unsubscribe from this group, send an email to:
      > nslu2-general-unsubscribe@yahoogroups.com
      >
      > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



      _____

      Yahoo! Groups Links

      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/nslu2-general/

      * To unsubscribe from this group, send an email to:
      nslu2-general-unsubscribe@yahoogroups.com
      <mailto:nslu2-general-unsubscribe@yahoogroups.com?subject=Unsubscribe>

      * Your use of Yahoo! Groups is subject to the Yahoo!
      <http://docs.yahoo.com/info/terms/> Terms of Service.



      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.