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]

password on command line, or other options?

Subject: password on command line, or other options?
Date: Sun, 29 Jan 2006 22:31:39 -0500

Hi,

I have a client who is using rsh with ciscoconf
(http://sourceforge.net/project/showfiles.php?group_id=25401&package_id=31646)
on FreeBSD to create and keep RCS logs of his router and switch
configurations.

I'd like to replace rsh with ssh.

Ciscoconfd will let me execute an arbitrary configuration-retrieval
program instead of rsh.  The trick is, how to get ssh to work
non-interactively with a Cisco device.  It seems that Cisco won't
support an authorized_keys mechanism for a user, so I have to somehow
get a Unix-ish SSH client that will support using a password on the
command line.

Any suggestions out there?  Surely someone has already done this?

Thanks,
==ml

-- 
Michael W. Lucas        mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org
                http://www.BlackHelicopters.org/~mwlucas/

"The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur

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