summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-August/018176.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-August/018176.html')
-rw-r--r--zarb-ml/mageia-dev/2012-August/018176.html92
1 files changed, 92 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-August/018176.html b/zarb-ml/mageia-dev/2012-August/018176.html
new file mode 100644
index 000000000..c0bab49dd
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-August/018176.html
@@ -0,0 +1,92 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] SSH PAM configuration
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20SSH%20PAM%20configuration&In-Reply-To=%3C201208142312.52766.r.h.michel%2Bmageia%40gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="018167.html">
+ <LINK REL="Next" HREF="018090.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] SSH PAM configuration</H1>
+ <B>Renaud MICHEL</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20SSH%20PAM%20configuration&In-Reply-To=%3C201208142312.52766.r.h.michel%2Bmageia%40gmail.com%3E"
+ TITLE="[Mageia-dev] SSH PAM configuration">r.h.michel+mageia at gmail.com
+ </A><BR>
+ <I>Tue Aug 14 23:12:52 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="018167.html">[Mageia-dev] SSH PAM configuration
+</A></li>
+ <LI>Next message: <A HREF="018090.html">[Mageia-dev] svn copy - forgotten mandriva packages.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18176">[ date ]</a>
+ <a href="thread.html#18176">[ thread ]</a>
+ <a href="subject.html#18176">[ subject ]</a>
+ <a href="author.html#18176">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hello
+On Tuesday 14 August 2012 at 16:56:33, Anne Wilson wrote :
+&gt;<i> &gt; But even without specific setup if you can ssh between hosts
+</I>&gt;<i> &gt; happily, just do &quot;rsync -e ssh&quot; on the client side and just use
+</I>&gt;<i> &gt; <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">foo at remote</A>:/path/to/files syntax. Job done :)
+</I>&gt;<i>
+</I>&gt;<i> Sure, but knowing how prone we all are to forget, my intention was to
+</I>&gt;<i> do it by cron :-)
+</I>
+If you want to run rsync over ssh from cron, I know two possible solutions.
+
+The first is to have a passwordless key (not readable by anyone else), then
+you simply need to use that key when connecting. That is done with the -i
+switch of ssh, so your rsync command will become
+rsync -e 'ssh -i /path/to/key'
+The problem is that, if you computer is stolen they can use the key as it is
+unprotected.
+
+The other, more secure solution is to use the ssh agent. You start the agent
+with -c or -s (depending on your shell) and store its output in a file, and
+you add the necessary key to the agent (keychain can do that for you, you
+only have to type the key password). Then from your cron script, you source
+that file and the agent will be available to the rest of the script.
+The drawback here, is that you must start the agent manually each time the
+computer is restarted.
+
+Regards
+--
+Renaud Michel
+</PRE>
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="018167.html">[Mageia-dev] SSH PAM configuration
+</A></li>
+ <LI>Next message: <A HREF="018090.html">[Mageia-dev] svn copy - forgotten mandriva packages.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18176">[ date ]</a>
+ <a href="thread.html#18176">[ thread ]</a>
+ <a href="subject.html#18176">[ subject ]</a>
+ <a href="author.html#18176">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>