diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016884.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-June/016884.html | 205 |
1 files changed, 205 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-June/016884.html b/zarb-ml/mageia-dev/2012-June/016884.html new file mode 100644 index 000000000..9181ca914 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-June/016884.html @@ -0,0 +1,205 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] updating sshd kill ssh connection + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20updating%20sshd%20kill%20ssh%20connection&In-Reply-To=%3C20120627085206.GR3708%40virgo.home.nanardon.zarb.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="016882.html"> + <LINK REL="Next" HREF="016891.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] updating sshd kill ssh connection</H1> + <B>Olivier Thauvin</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20updating%20sshd%20kill%20ssh%20connection&In-Reply-To=%3C20120627085206.GR3708%40virgo.home.nanardon.zarb.org%3E" + TITLE="[Mageia-dev] updating sshd kill ssh connection">nanardon at nanardon.zarb.org + </A><BR> + <I>Wed Jun 27 10:52:06 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="016882.html">[Mageia-dev] updating sshd kill ssh connection +</A></li> + <LI>Next message: <A HREF="016891.html">[Mageia-dev] Meeting on Thursday 28th at 17.30 UTC +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#16884">[ date ]</a> + <a href="thread.html#16884">[ thread ]</a> + <a href="subject.html#16884">[ subject ]</a> + <a href="author.html#16884">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>* Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote: +><i> 'Twas brillig, and Olivier Thauvin at 27/06/12 09:17 did gyre and gimble: +</I>><i> > * Sander Lepik (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">sander.lepik at eesti.ee</A>) wrote: +</I>><i> >> 27.06.2012 11:06, Olivier Thauvin kirjutas: +</I>><i> >>> I was updating remotly my build machine when: +</I>><i> >>> +</I>><i> >>> 192/254: openssh-server +</I>><i> >>> ############################################################################################################################################################# +</I>><i> >>> Migrating sysvinit service 'sshd' to systemd native unit 'sshd.service' +</I>><i> >>> via systemd install rules. +</I>><i> >>> Connection to cauldron64.latmos.ipsl.fr closed by remote host. +</I>><i> >>> Connection to cauldron64.latmos.ipsl.fr closed. +</I>><i> >>> +</I>><i> >>> This must _never_ happend if the update goes wrong you completly loose +</I>><i> >>> the hand on the computer. +</I>><i> >>> +</I>><i> >>> BTW: restarting sshd never shutdown pending ssh connection. +</I>><i> >>> +</I>><i> >>> Please remove or fix this. +</I>><i> >>> +</I>><i> >>> Let's see the state of machine now I was disconnected during urpmi... +</I>><i> >> Check your /etc/ssh/sshd_config - you must use "UsePAM yes" there. +</I>><i> >> <A HREF="https://wiki.mageia.org/en/Mageia_2_Errata#SSH_daemon_issues">https://wiki.mageia.org/en/Mageia_2_Errata#SSH_daemon_issues</A> +</I>><i> > +</I>><i> > We already use PAM in ssh (because ldap)... +</I>><i> +</I>><i> Then check your /etc/pam.d/system-auth (or /etc/pam.d/sshd which should +</I>><i> include system-auth). +</I>><i> +</I>><i> +</I>><i> The system-auth we ship includes: +</I>><i> +</I>><i> -session optional pam_systemd.so +</I> +My system-auth is pushed via puppet to setup ldap authentication. + +So at time I'll add this to sshd pam config file. + +I wonder how other sys admin does to automated setup of their servers. + +Thanks. + +-- + +Olivier Thauvin +CNRS - LATMOS +♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: not available +Type: application/pgp-signature +Size: 197 bytes +Desc: not available +URL: </pipermail/mageia-dev/attachments/20120627/fe050b00/attachment.asc> +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="016882.html">[Mageia-dev] updating sshd kill ssh connection +</A></li> + <LI>Next message: <A HREF="016891.html">[Mageia-dev] Meeting on Thursday 28th at 17.30 UTC +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#16884">[ date ]</a> + <a href="thread.html#16884">[ thread ]</a> + <a href="subject.html#16884">[ subject ]</a> + <a href="author.html#16884">[ 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> |