[ale] SSH and passwords

Bob Toxen transam at verysecurelinux.com
Wed Feb 2 18:51:24 EST 2005


I do describe generating and exchanging keys in Chapter 12 of my book.
Alternatively, you could use ssh-agent.

Bob Toxen
bob at verysecurelinux.com               [Please use for email to me]
http://www.verysecurelinux.com        [Network&Linux/Unix security consulting]
http://www.realworldlinuxsecurity.com [My book:"Real World Linux Security 2/e"]
Quality Linux & UNIX security and SysAdmin & software consulting since 1990.

"Microsoft: Unsafe at any clock speed!"
   -- Bob Toxen 10/03/2002

On Tue, Feb 01, 2005 at 04:31:17PM -0500, David Corbin wrote:
> If I know the proper password for logging in via ssh, is there anyway to 
> "programmatically provide" (like from a script) that to the ssh client? 
> Please don't lecture me about security and keys.  I understand it well 
> enough. 

>  I'm looking at implementing a tool to help set up keys between a set of 
> machines with out them having to retype passwords too many times, so the 
> passwords would not be stored.  As near as I can tell, it takes two "ssh 
> invocations" to provide a key to a remote system, and a third to test it.  
> Couple that, with the dozens of systems with the same passwords, and it would 
> be quite helpful.

> Near as I can tell, you can redirect stdin, and I can see no way to pass it as 
> an argument or such.

> Thanks.
> David



More information about the Ale mailing list