Re: ssh-keygen empty passphrase



In article <1194609396.048209.325550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
gerry.brennan@xxxxxxxxx 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@xxxxxxxxxxxx
.



Relevant Pages

  • Re: different SSH/keychain behavior on Fedora Core 4?
    ... konsole window, then the newly generated konsole window which is ... logged-in to the remote shell opens just fine (i.e., without passphrase ... below) with this 'konsole' command, I am again greeted with the ... > I'm wondering if anyone's seen different SSH and keychain behavior on ...
    (Fedora)
  • executing GPG commands inside VB .net 2003 form
    ... my normal decrypt command goes something like this: ... The input file is normally called something.txt.pgp and this command ... I tried to write the passphrase to the ... standard input of the process, ...
    (microsoft.public.dotnet.languages.vb)
  • execute gpg commands in dotnet?
    ... my normal decrypt command goes something like this: ... The input file is normally called something.txt.pgp and this command ... I tried to write the passphrase to the ... standard input of the process, ...
    (microsoft.public.dotnet.general)
  • Re: using ssh without a password
    ... > but if I try connecting via ssh it still asks for a password. ... To ssh and run a particular command without password or passphrase, ... the ~/.ssh dir of the destination user. ...
    (comp.os.linux.networking)
  • RE: Controlling ssh from an external program
    ... passphrase could be discovered and the private key would fall into dangerous ... NB the SSH environment strings need to be included in this mixture! ... character as the final character could signify accept from a file. ... Controlling ssh from an external program ...
    (SSH)