<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.8.1">
</HEAD>
<BODY>
On Sun, 2006-18-06 at 16:02 +0100, Daniel Carrera wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">ssh <A HREF="mailto:me@server.com">me@server.com</A> "mysqldump db_name -u me --password=secret | gzip -c" </FONT>
<FONT COLOR="#000000"> > sql-backup-2006-06-18.gz</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">This would work except that I still need to type the ssh password. Is it </FONT>
<FONT COLOR="#000000">possible to specify the ssh password in the command line? Or do </FONT>
<FONT COLOR="#000000">something else so I can run this on a script?</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
You can set up some public keys for SSH sign-in.  Then you can automate making connections.<BR>
<BR>
<A HREF="http://www.hackinglinuxexposed.com/articles/20021226.html">http://www.hackinglinuxexposed.com/articles/20021226.html</A><BR>
<BR>
That's what helped me set up an SSH bridge to get around the Great Firewall.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
--<BR>
<B>Michael T. Richter</B><BR>
<I><FONT SIZE="2">Email:</FONT></I><FONT SIZE="2"> ttmrichter@gmail.com, mtr1966@hotpop.com</FONT><BR>
<I><FONT SIZE="2">MSN:</FONT></I><FONT SIZE="2"> ttmrichter@hotmail.com, mtr1966@hotmail.com; </FONT><I><FONT SIZE="2">YIM:</FONT></I><FONT SIZE="2"> michael_richter_1966; </FONT><I><FONT SIZE="2">AIM:</FONT></I><FONT SIZE="2"> YanJiahua1966; </FONT><I><FONT SIZE="2">ICQ:</FONT></I><FONT SIZE="2"> 241960658; </FONT><I><FONT SIZE="2">Jabber:</FONT></I><FONT SIZE="2"> mtr1966@jabber.cn</FONT><BR>
<BR>
<I><FONT SIZE="1">"Then, of course, there is the feeling that something sexual must be something very happy, a marvelous experience. When this develops, I always see the negative side."</FONT></I><FONT SIZE="1"> </FONT><B><FONT SIZE="1">--The Dalai Lama</FONT></B>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>