[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: Re: LTSP:ssh_known_hosts (Re: Problems cloning LTSP server)]



I think this link show a small python script that run this two commands :

http://scriptbrasil.com.br/forum/index.php?showtopic=136033

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from threading import Thread
def RunSSHKeys():
    os.system("sudo /usr/sbin/ltsp-update-sshkeys")

def aux():
     os.system('sudo /usr/sbin/ltsp-update-image 1>img.txt &')

def RunImage():
     
      th=Thread( target=aux() )
      th.start()

regards

-------- Mensagem original --------
From: - Thu Oct 29 13:04:43 2009
X-Account-Key: account2
X-UIDL: 93f82e1c-c491-11de-ac6b-00215ad8241c
X-Mozilla-Status: 0013
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
X-WebMail: true
X-Folder: INBOX
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtTQ0w9MA==
X-Message-Status: n:0
X-SID-PRA: debian-edu-request@lists.debian.org
X-Message-Info: JGTYoYF78jFgC8Fkcc76j8hX2JdHCdU85azBjZdg/miASi04WKDWgI+mG2bo0ysftj5lHPZMmCNAr5xmhLxZAmf/SpUBEzDQ
Received: from liszt.debian.org ([82.195.75.100]) by col0-mc1-f24.Col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 29 Oct 2009 06:47:30 -0700
Received: from localhost (localhost [127.0.0.1]) by liszt.debian.org (Postfix) with QMQP id 5E9882D0FD9; Thu, 29 Oct 2009 13:47:29 +0000 (UTC)
Old-Return-Path: <rgx@gmx.de>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on liszt.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-10.9 required=4.0 tests=FOURLA,LDOSUBSCRIBER, LDO_WHITELIST autolearn=failed version=3.2.5
X-Original-To: lists-debian-edu@liszt.debian.org
Delivered-To: lists-debian-edu@liszt.debian.org
Received: from localhost (localhost [127.0.0.1]) by liszt.debian.org (Postfix) with ESMTP id 39AD42D0FBA for <lists-debian-edu@liszt.debian.org>; Thu, 29 Oct 2009 13:47:22 +0000 (UTC)
X-Virus-Scanned: at lists.debian.org with policy bank en-lt
X-Amavis-Spam-Status: No, score=-6.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=ham
Received: from liszt.debian.org ([127.0.0.1]) by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525) with ESMTP id jvaf0q1mz5To for <lists-debian-edu@liszt.debian.org>; Thu, 29 Oct 2009 13:47:14 +0000 (UTC)
X-policyd-weight: using cached result; rate:hard: -7
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by liszt.debian.org (Postfix) with SMTP id 9B3432D0DD7 for <debian-edu@lists.debian.org>; Thu, 29 Oct 2009 13:47:14 +0000 (UTC)
Received: (qmail invoked by alias); 29 Oct 2009 13:47:11 -0000
Received: from dslb-084-060-026-181.pools.arcor-ip.net (EHLO siduxbox.localnet) [84.60.26.181] by mail.gmx.net (mp025) with SMTP; 29 Oct 2009 14:47:11 +0100
X-Authenticated: #524548
X-Provags-ID: V01U2FsdGVkX19GptRritVGRj328/n+Hk94SY01m0HDZUmMMYWTO3 Abi4N0BCgSv4n5
From: RalfGesellensetter <rgx@gmx.de>
To: debian-edu@lists.debian.org
Subject: Re: LTSP:ssh_known_hosts (Re: Problems cloning LTSP server)
Date: Thu, 29 Oct 2009 14:47:04 +0100
User-Agent: KMail/1.12.2 (Linux/2.6.31-5.slh.2-sidux-686; KDE/4.3.2; i686; ; )
References: [🔎] 200910212212.48093.rgx@gmx.de"><[🔎] 200910212212.48093.rgx@gmx.de> [🔎] 200910221127.04971.rgx@gmx.de"><[🔎] 200910221127.04971.rgx@gmx.de>
In-Reply-To: [🔎] 200910221127.04971.rgx@gmx.de"><[🔎] 200910221127.04971.rgx@gmx.de>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: [🔎] 200910291447.04199.rgx@gmx.de"><[🔎] 200910291447.04199.rgx@gmx.de>
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.68
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2008-11-04_01
Resent-Message-ID: <Y26lIp-5IoD.A.14B.xzZ6KB@liszt>
Resent-From: debian-edu@lists.debian.org
X-Mailing-List: <debian-edu@lists.debian.org> archive/latest/18126
X-Loop: debian-edu@lists.debian.org
List-Id: <debian-edu.lists.debian.org>
List-Post: <mailto:debian-edu@lists.debian.org>
List-Help: <mailto:debian-edu-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-edu-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-edu-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-edu-request@lists.debian.org
Resent-Date: Thu, 29 Oct 2009 13:47:29 +0000 (UTC)
Return-Path: bounce-debian-edu=gsavix=hotmail.com@lists.debian.org
X-OriginalArrivalTime: 29 Oct 2009 13:47:30.0700 (UTC) FILETIME=[5C1D94C0:01CA589E]


Am Donnerstag 22 Oktober 2009 schrieb RalfGesellensetter:
> thanks for your [offlist] reply.
> You suggested removing /opt/ltsp/i386/etc/ssh/ssh_known_hosts
> which originally has four entries like this:
> 

ltsp-update-sshkeys seems to be the script to be run after cloning a 
thin client server. However it doesn't help here.

Giving it a 2nd thought, a dysfunctional TFTP server resp. a missing 
kernel cannot be connected to SSH which steps in much later.

So, apart from re-trying the clone process (maybe on image level, this 
time) - any further suggestions on what might have gone wrong?

Thanks for any comments!
Ralf


-- 
To UNSUBSCRIBE, email to debian-edu-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Windows Live: Make it easier for your friends to see what you’re up to on Facebook.

Reply to: