Re: RSA & DSA Authentication - need help

From: Pascal J.Bourguignon (pjb_at_informatimago.com)
Date: 02/14/04

  • Next message: Steven Lake: "Re: Problem with restrictive login"
    Date: Sat, 14 Feb 2004 13:55:13 +0100
    To: Dusty Culler <dustyculler@yahoo.com>, secureshell@securityfocus.com
    
    

    > On Thu, Feb 12, 2004 at 10:47:28AM -0800, Dusty Culler wrote:
    > > server:
    > > login as myuser
    > > cd .ssh
    > > cat *.pub >> authorized_keys
    >
    > > For some reason I still get prompted for a password.

    The reason is that it's not the pub key of myuser that you must put in
    authorized_keys, but the pub key of the user that will connect to thys
    myuser account!

    The correct commands are:

        login as localuser
        cd .ssh
        cat id_*.pub | ssh myuser@remotehost 'cat >> authorized_keys2'
        cat identity.pub | ssh myuser@remotehost 'cat >> authorized_keys'

    then you can do:

        ssh myuser@remotehost

    without having to type myuser's password.

    -- 
    __Pascal_Bourguignon__                     http://www.informatimago.com/
    There is no worse tyranny than to force a man to pay for what he doesn't
    want merely because you think it would be good for him.--Robert Heinlein
    http://www.theadvocates.org/
    

  • Next message: Steven Lake: "Re: Problem with restrictive login"

    Relevant Pages

    • Re: Questions for those still approving of Bush
      ... Do you understand that no tangible, truthful reason has ever been ... >>>Americans have no medical insurance and that the Bush administration ... *entitled* to what you pay for. ... >>>this mesh with the fact that the Bush administration has cut Veterans ...
      (misc.news.internet.discuss)
    • Re: My new article on copyright is now online!
      ... >Deaf people, for instance,, shouldn't need to pay. ... Give me a real reason why you don't ... pay some fraction of a penny to listen to the song. ...
      (rec.music.makers.songwriting)
    • Re: Course Pre Reading
      ... If he can't muster the resources to learn the ... material - for himself - at his age, ... The only reason to try to learn something completely on ... I want to add that I consider the tuition I pay a bargain ...
      (sci.physics.relativity)
    • Re: My apology to Ben Bernanke
      ... amount but because of the reason for them and ... any imaginable way to our financial system. ... Obama's Stimulus bill limited executive pay to $500K in any company ... AIG's best traders and sales people were reportedly being actively ...
      (soc.retirement)
    • Re: The writers cut?
      ... mostly to restore bits that the original ... was the Doubleday SF Book Club editors, There was no textual or story ... reason, to my way of thinking, to justify the issue. ... Heinlein) and the over-the-top horror (which had in fact originally ...
      (rec.arts.sf.written)