[ale] SSH and passwords

Christopher Fowler cfowler at outpostsentinel.com
Tue Feb 1 22:23:49 EST 2005


I found my answer here:

http://cfm.gs.washington.edu/security/ssh/client-pkauth/

Very easy

On Tue, 2005-02-01 at 21:59, Christopher Fowler wrote:
> Can someone give me the command to build a key on a client so I can
> transfer it to the remote and place it in the authorized keys folder of
> the server?
> 
> Thanks
> 
> On Tue, 2005-02-01 at 16:45, Jerald Sheets wrote:
> > You can build keys and exchange the keys between the two hosts.  These
> > keys will allow you to perform functions between the two hosts without
> > having to enter a password.  
> > 
> > After that, you can run various commands between the two including
> > copies and file manipulations, rsync (using the -e ssh flag) and others
> > without ever having to reveal a password.
> > 
> > --J
> > 
> > 
> > On Tue, 2005-02-01 at 16:31 -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
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list