[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Feb 1 23:05:01 2005 -->
- <!--x-from-r13: qpbeova ng znpughegyr.pbz (Rnivq Qbeova) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1107294346.6948.1.camel@wagon -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] SSH and passwords -->
- <li><em>date</em>: Tue Feb 1 23:05:01 2005</li>
- <li><em>from</em>: dcorbin at machturtle.com (David Corbin)</li>
- <li><em>in-reply-to</em>: <<a href="msg00042.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00035.html">[email protected]</a>> <1107294346.6948.1.camel@wagon> <<a href="msg00042.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] SSH and passwords</li>
I do this:
ssh-keygen -t dsa
scp ~/id_dsa.pub remoteHost:tmp.pub
ssh remoteHost 'cat tmp.pub >>.ssh/authorized_keys'
(I think)
David
>
> 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
> > > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00046" href="msg00046.html">[ale] SSH and passwords</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00035" href="msg00035.html">[ale] SSH and passwords</a></strong>
<ul><li><em>From:</em> dcorbin at enttek.com (David Corbin)</li></ul></li>
<li><strong><a name="00037" href="msg00037.html">[ale] SSH and passwords</a></strong>
<ul><li><em>From:</em> jsheets at yahoo.com (Jerald Sheets)</li></ul></li>
<li><strong><a name="00042" href="msg00042.html">[ale] SSH and passwords</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00044.html">[ale] Re: Thanks :)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00046.html">[ale] SSH and passwords</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00043.html">[ale] SSH and passwords</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00046.html">[ale] SSH and passwords</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00045"><strong>Date</strong></a></li>
<li><a href="threads.html#00045"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>