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

.



Relevant Pages

  • Re: ssh-keygen empty passphrase
    ... Also I have two machines with ... When I run the script on A I do not have to press enter twice. ... "Enter passphrase(empty for no passphrase): ...
    (comp.security.ssh)
  • Re: SSH login automation, get stuck at the last step.
    ... I hope you managed to create the keys with the script. ... I have modified Uwe's script to handle passphrase. ... puts stderr "EXP username requested and sent " ...
    (comp.lang.tcl)
  • Re: scp and scripts?
    ... The following is basically what I want the script to do, ... >> but I heard scp will not work with authentication. ... > an SSH key of the appropriate type. ... > want a passphrase; press enter to use a blank passphrase. ...
    (Debian-User)
  • Re: Opening ports in my firewall
    ... >be sshing in from (or at least a group of possible machines). ... a shared key activated by a passphrase, ... bit of research on shell design, you can limit a login in any way you ...
    (comp.os.linux.security)
  • Simple expect script has erratic behavior, why?
    ... I have a simple expect script to decrypt a gpg file when passed the ... passphrase on the command line. ... If I run the gpg command from the command line, ...
    (comp.lang.tcl)