ssh-keygen empty passphrase - SSH

This is a discussion on ssh-keygen empty passphrase - SSH ; Hi I have a ksh script. with the following line for generating some keys ssh-keygen -q -t dsa -f /.ssh/id_dsa EOF Also I have two machines with ssh -V A.........SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. B.........Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: ssh-keygen empty passphrase

  1. ssh-keygen empty passphrase

    Hi I have a ksh script.
    with the following line for generating some keys

    ssh-keygen -q -t dsa -f /.ssh/id_dsa << EOF


    EOF

    Also I have two machines with

    ssh -V

    A.........SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.

    B.........Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f

    When I run the script on A I do not have to press enter twice.

    "Enter passphrase(empty for no passphrase):
    Enter same passphrase again:"


    When I run the script on the second machine I have to press return
    twice.

    "Enter passphrase(empty for no passphrase):
    Enter same passphrase again:"

    Obviously, from line instruction above I do not want to enter
    twice ...

    Why is one version suppressing this and the other not ?

    Any help would be great .
    G


  2. Re: ssh-keygen empty passphrase

    On 9 Nov, 11:56, gerry.bren...@gmail.com wrote:
    > Hi I have a ksh script.
    > with the following line for generating some keys
    >
    > ssh-keygen -q -t dsa -f /.ssh/id_dsa << EOF
    >


    > EOF
    >
    > Also I have two machines with
    >
    > ssh -V
    >
    > A.........SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.
    >
    > B.........Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f
    >
    > When I run the script on A I do not have to press enter twice.
    >
    > "Enter passphrase(empty for no passphrase):
    > Enter same passphrase again:"
    >
    > When I run the script on the second machine I have to press return
    > twice.
    >
    > "Enter passphrase(empty for no passphrase):
    > Enter same passphrase again:"
    >
    > Obviously, from line instruction above I do not want to enter
    > twice ...
    >
    > Why is one version suppressing this and the other not ?
    >
    > Any help would be great .
    > G




  3. Re: ssh-keygen empty passphrase

    In article <1194609396.048209.325550@v29g2000prd.googlegroups. com>
    gerry.brennan@gmail.com writes:
    >Hi I have a ksh script.
    >with the following line for generating some keys
    >
    >ssh-keygen -q -t dsa -f /.ssh/id_dsa << EOF
    >
    >
    >EOF


    The "here document" is useless, the command won't read anything from
    standard input.

    >Also I have two machines with
    >
    >ssh -V
    >
    >A.........SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.
    >
    >B.........Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f
    >
    >When I run the script on A I do not have to press enter twice.
    >
    >"Enter passphrase(empty for no passphrase):
    >Enter same passphrase again:"


    I don't know what the Sun_SSH_1.x version of ssh-keygen offers, but with
    the OpenSSH version you use "-N ''" if you want an empty passphrase.

    --Per Hedeland
    per@hedeland.org

+ Reply to Thread