Re: How to supply ssh-add passphrase from file?
From: Mike Delaney (mdelan_at_computer.org)
Date: 10/20/03
- Next message: Ralph: "How can Putty load my public key generated with OpenSSH"
- Previous message: Ralph: "Re: How to make PuTTY/Xterm work over VPN connecting to a linux server"
- In reply to: danielrm26: "Re: How to supply ssh-add passphrase from file?"
- Next in thread: UnixFan: "Re: How to supply ssh-add passphrase from file?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 20 Oct 2003 11:53:44 -0700
On 20 Oct 2003 02:01:56 -0700, danielrm26 said something similar to:
: Mike Delaney <mdelan@computer.org> wrote in message news:<slrnbp6t4g.i82.mdelan@shell.lusars.net>...
: > On 17 Oct 2003 22:22:49 -0700 Dr. Muhammad Masroor Ali wrote:
: > : Before you open your fire please allow me to tell you that I know that
: > : this is a security hole. But under a special circumstances I need to
: > : supply the ssh-add passphrase from a file. Could you tell me the best
: > : way to do this.
: >
: > The best way is not to bother putting the passphrase on the key in
: > the first place.
:
: I would recommend doing something like ssh-agent or keychain over
: using the key without a passphrase. Check into them and see if they
Reread the origional post. He wants to add the key to the agent, but supply
the passphrase to ssh-add via a file rather than typing it in. There's
no such thing as an agent for an agent.
While he could go about writting an expect script to run ssh-add
non-interactively, at that point he's effectively reduced the security
of the private key to the same level as that of an un-passphrase protected
key - he may as well just leave the passphrase off of the key and save the
trouble.
- Next message: Ralph: "How can Putty load my public key generated with OpenSSH"
- Previous message: Ralph: "Re: How to make PuTTY/Xterm work over VPN connecting to a linux server"
- In reply to: danielrm26: "Re: How to supply ssh-add passphrase from file?"
- Next in thread: UnixFan: "Re: How to supply ssh-add passphrase from file?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|