Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

ssh, passphrases and stdin

Subject: ssh, passphrases and stdin
Date: Tue, 24 Aug 2004 18:05:55 +0200 (CEST)
Hi list,

I would like to get your opinion on this: I am developing an application
that backs up data using rsync+ssh+public/private key login. The
application should start as a service upon system boot.

Since I don't want to have an unencrypted key on the system I need to
enable a passphrase. Well, I learned that ssh does not read the password
from stdin and therefore gives me some headache on how to solve this.

I found a possible fix could be ssh-keychain, however the passphrase needs
to be entered upon every system boot. Does anyone know if ssh-keychain
accepts the passphrase from stdin?

I know, having the passphrase, even in an encrypted from, "laying around"
on the system is far from optimal as well. However, I need to get syncing
done upon system boot.

If anyone has a better idea on this matter I'd sure like to hear it!

Dave

<Prev in Thread] Current Thread [Next in Thread>