Can't ssh with no password between Red Hat Enterprise and Red hat 7.0 - SSH

This is a discussion on Can't ssh with no password between Red Hat Enterprise and Red hat 7.0 - SSH ; Hi, I never have a problem setting up ssh between Red Hat servers so it doesn't prompt for a password using "ssh-keygen -t rsa", but I cannot get it to work between Red Hat Enterprise 3 and Red Hat 7.0. ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Can't ssh with no password between Red Hat Enterprise and Red hat 7.0

  1. Can't ssh with no password between Red Hat Enterprise and Red hat 7.0

    Hi, I never have a problem setting up ssh between Red Hat servers so
    it doesn't prompt for a password using "ssh-keygen -t rsa", but I
    cannot get it to work between Red Hat Enterprise 3 and Red Hat 7.0.
    This is what I have done so far:

    On Red Hat Enterprise 3:
    1. ssh-keygen -t rsa (didn't use a passphrase)
    2. copied id_dsa.pub to Red Hat 7.0 server and renamed it
    "authorized_keys"
    3. tried ssh to the Red Hat 7.0 server, it prompted me for a password

    On Red Hat 7.0 (didn't get ver far):
    1. ssh-keygen -t rsa (didn't work as -t was not a valid option)
    2. ssh-keygen (didn't use a passphrase)
    3. copied "identity.pub" to Red Hat Enterprse 3 server and renamed it
    "authorized_keys"
    4. tried ssh to Red Hat Enterprise 3 server and it prompted me for a
    password

    I guess this is something to do with the older server using v1 of SSH
    rather than v2?

    How can I make this work?

    Many thanks,
    Pete.

  2. Re: Can't ssh with no password between Red Hat Enterprise and Red hat 7.0

    >>>>> "PH" == peterharding writes:

    PH> Hi, I never have a problem setting up ssh between Red Hat servers
    PH> so it doesn't prompt for a password using "ssh-keygen -t rsa", but
    PH> I cannot get it to work between Red Hat Enterprise 3 and Red Hat
    PH> 7.0. This is what I have done so far:

    PH> On Red Hat Enterprise 3: 1. ssh-keygen -t rsa (didn't use a
    PH> passphrase) 2. copied id_dsa.pub to Red Hat 7.0 server and renamed
    PH> it "authorized_keys" 3. tried ssh to the Red Hat 7.0 server, it
    PH> prompted me for a password

    Regarding the use of plaintext keys, consider using ssh-agent instead:
    http://www.snailbook.com/faq/no-passphrase.auto.html

    PH> On Red Hat 7.0 (didn't get ver far): 1. ssh-keygen -t rsa (didn't
    PH> work as -t was not a valid option) 2. ssh-keygen (didn't use a
    PH> passphrase) 3. copied "identity.pub" to Red Hat Enterprse 3 server
    PH> and renamed it "authorized_keys" 4. tried ssh to Red Hat
    PH> Enterprise 3 server and it prompted me for a password

    PH> I guess this is something to do with the older server using v1 of
    PH> SSH rather than v2?

    The identity.pub file indicates an SSH1-only key, so if you're using
    protocol 2 this could certainly be a problem.

    PH> How can I make this work?

    PH> Many thanks, Pete.

    Post the output of a ssh -vv run; also review:
    http://www.snailbook.com/faq/publick...auth.auto.html

    --
    Richard Silverman
    res@qoxp.net


  3. Re: Can't ssh with no password between Red Hat Enterprise and Red hat7.0

    On 24 Jan, 16:26, peterhard...@yahoo.com wrote:
    > Hi, I never have a problem setting up ssh between Red Hat servers so
    > it doesn't prompt for a password using "ssh-keygen -t rsa", but I
    > cannot get it to work between Red Hat Enterprise 3 and Red Hat 7.0.
    > This is what I have done so far:
    >
    > On Red Hat Enterprise 3:
    > 1. ssh-keygen -t rsa (didn't use a passphrase)
    > 2. copied id_dsa.pub to Red Hat 7.0 server and renamed it
    > "authorized_keys"
    > 3. tried ssh to the Red Hat 7.0 server, it prompted me for a password
    >
    > On Red Hat 7.0 (didn't get ver far):
    > 1. ssh-keygen -t rsa (didn't work as -t was not a valid option)
    > 2. ssh-keygen (didn't use a passphrase)
    > 3. copied "identity.pub" to Red Hat Enterprse 3 server and renamed it
    > "authorized_keys"
    > 4. tried ssh to Red Hat Enterprise 3 server and it prompted me for a
    > password
    >
    > I guess this is something to do with the older server using v1 of SSH
    > rather than v2?
    >
    > How can I make this work?
    >
    > Many thanks,
    > Pete.


    For one thing, update to at least RedHat 7.3. People stopped
    publishing updates for 7.0 a long, long, long time ago, and even
    RedHat 7.3 is pretty darned dead. But you have a better chance of
    having a fully functional system with it.

    If you don't have the media to update it, send me a note, I can get
    you a copy of one of the last FedoraLegacy repositories.

+ Reply to Thread