Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"What the scientists have in their briefcases is terrifying." -- Nikita Khrushchev


devel / comp.unix.shell / Re: ssh in a loop

SubjectAuthor
* ssh in a loopEsau Laguna
`* ssh in a loopDavid W. Hodgins
 `* ssh in a loopJanis Papanagnou
  `- ssh in a loopDavid W. Hodgins

1
Re: ssh in a loop

<73d43544-6231-488b-a972-1e69d11bc9ddn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=6735&group=comp.unix.shell#6735

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:2844:b0:6b8:5f52:a6b5 with SMTP id h4-20020a05620a284400b006b85f52a6b5mr10461127qkp.351.1665338503407;
Sun, 09 Oct 2022 11:01:43 -0700 (PDT)
X-Received: by 2002:a05:6808:483:b0:354:927a:b212 with SMTP id
z3-20020a056808048300b00354927ab212mr42861oid.1.1665338503128; Sun, 09 Oct
2022 11:01:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sun, 9 Oct 2022 11:01:42 -0700 (PDT)
In-Reply-To: <1d16d00e-ac23-4b9e-9dab-b419558bd4d8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fb90:f22b:418f:ac39:bc51:9aae:f468;
posting-account=kxxyTAoAAADn-zkp7LdlNyfTLIVIC0Zq
NNTP-Posting-Host: 2607:fb90:f22b:418f:ac39:bc51:9aae:f468
References: <4IOdnQy7DN-1lASiRVn-sg@speakeasy.net> <1Pbmb.70116$832.40470@twister.rdc-kc.rr.com>
<WrydnScJq8tE6wSiRVn-gg@speakeasy.net> <1d16d00e-ac23-4b9e-9dab-b419558bd4d8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <73d43544-6231-488b-a972-1e69d11bc9ddn@googlegroups.com>
Subject: Re: ssh in a loop
From: esaulaguna12@gmail.com (Esau Laguna)
Injection-Date: Sun, 09 Oct 2022 18:01:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5112
 by: Esau Laguna - Sun, 9 Oct 2022 18:01 UTC

El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames HisWife escribió:
> On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
> > "Dan Mercer" <dme...@mn.rr.com> wrote in message
> > news:1Pbmb.70116$832....@twister.rdc-kc.rr.com...
> > >
> > > "Adam Selene" <NOS...@NOSPAM.COM> wrote in message
> > news:4IOdnQy7DN-...@speakeasy.net...
> > > : Hello,
> > > :
> > > : I am trying to write a script that will collect output from a list of
> > > : machines on my network. To accomplish this I have setup ssh keys and
> > have
> > > : written a simple loop. The only problem is my script does not go
> > through
> > > : the entire iteration of all the machines, just the first one it grabs
> > during
> > > : read. Here is my code:
> > > :
> > > : #!/usr/local/bin/bash
> > > :
> > > : cat machines.list |while read line ;
> > > Useless Use of cat followed by a useless semi-colon
> > > : do
> > > : ssh -t myuserid@$line $1 >> /home/myuserid/output.txt
> > > Stdin for the process is the pipe from cat. SSH inherits stdin and
> > > empties it. use the -n option
> > >
> > > while read line
> > > do
> > > ssh -n -t myuserid@$line $1
> > > done <machines.list >>~/output.txt
> > > clear
> > > less >>~/output.txt
> > >
> > > Or you could pipe the results directly to less:
> > > while read line
> > > do
> > > ssh -n -t myuserid@$line $1
> > > done <machines.list |less
> > >
> > > Dan Mercer's the other one of the street to do it again soon and I will be in your area tomorrow morning 🌅🌄 the office and they told her that this stuff is in manual testing profile picture is of experience with the link 🔗 firebase and I hope to hear from you soon thank 📱❤️ jjnkjdreamin.org.in@jnk.org.in ❤️ KJ ❤️ KJ ❤️ JJ ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James and His Lawyer's office today so much for all the information ℹ️ ℹ️ the hospital 🏥❤️ Kylie Jenner Jason James ❤️ Kylie Jenner Jason James ❤️ Kylie and I can 🥫🥫 you can get it Again 😁 and again I apologise and again thank you so very happy with the link 🔗 firebase I can 🥫 and called the mechanic 🧰 the hospital 🏥❤️ JJ ❤️ Kylie Jenner Jason James ❤️ Keep Updated resume enclosed the details of experience in manual testing resume enclosed my CV attached herewith is called me enough names of the street to get anything done ✅
> > >
> > > : done
> > > : clear
> > > : less /home/myuserid/output.txt
> > > :
> > > : The contents of machines.list is:
> > > :
> > > : proxy-01.mydomain.com
> > > : proxy-02.mydomain.com
> > > : proxy-03.mydomain.com
> > > : proxy-04.mydomain.com
> > > : proxy-05.mydomain.com
> > > :
> > > : When I run the script it grabs the output from the first machine in the
> > list
> > > : but goes no further. What am I doing wrong here?
> > > :
> > > :
> > > : Thanks in advance,
> > > :
> > > : Adam
> > > :
> > > :
> > >
> > >
> > Thank you! The -n is just what I needed.
> >
> > Thanks again,
> > Adam
Josue esau laguna gamez

Re: ssh in a loop

<op.1tsimeraa3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=6740&group=comp.unix.shell#6740

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.unix.shell
Subject: Re: ssh in a loop
Date: Sun, 09 Oct 2022 17:14:28 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <op.1tsimeraa3w0dxdave@hodgins.homeip.net>
References: <4IOdnQy7DN-1lASiRVn-sg@speakeasy.net>
<1Pbmb.70116$832.40470@twister.rdc-kc.rr.com>
<WrydnScJq8tE6wSiRVn-gg@speakeasy.net>
<1d16d00e-ac23-4b9e-9dab-b419558bd4d8n@googlegroups.com>
<73d43544-6231-488b-a972-1e69d11bc9ddn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="da93e075f0ec52f4f9e61ac07af0829e";
logging-data="621822"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dX+CkfPIuqeJTL6vp4azm4Iq72TAp7zs="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:Kaw4IDsBWL6W9lKKRO0ydhNt9hw=
 by: David W. Hodgins - Sun, 9 Oct 2022 21:14 UTC

On Sun, 09 Oct 2022 14:01:42 -0400, Esau Laguna <esaulaguna12@gmail.com> wrote:

> El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames HisWife escribió:
>> On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
>> > "Dan Mercer" <dme...@mn.rr.com> wrote in message
>> > news:1Pbmb.70116$832....@twister.rdc-kc.rr.com...

Please learn to look at the dates. You're following up to a 2 year old message
that was a follow up to a 7 year old message.

I know google groups wants to make it look like this is a google group, but it's
usenet news group that google copies, poorly.

Regards, Dave Hodgins

Re: ssh in a loop

<thvf2a$j17e$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=6741&group=comp.unix.shell#6741

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: ssh in a loop
Date: Sun, 9 Oct 2022 23:39:22 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <thvf2a$j17e$1@dont-email.me>
References: <4IOdnQy7DN-1lASiRVn-sg@speakeasy.net>
<1Pbmb.70116$832.40470@twister.rdc-kc.rr.com>
<WrydnScJq8tE6wSiRVn-gg@speakeasy.net>
<1d16d00e-ac23-4b9e-9dab-b419558bd4d8n@googlegroups.com>
<73d43544-6231-488b-a972-1e69d11bc9ddn@googlegroups.com>
<op.1tsimeraa3w0dxdave@hodgins.homeip.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 9 Oct 2022 21:39:22 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b0bf0a34aa466265c1f32e5613c5340f";
logging-data="623854"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KP+vkEo7/vmE67hKHPqT+"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:99EscGR3TAXzPnOH4zkJu7MWc+E=
In-Reply-To: <op.1tsimeraa3w0dxdave@hodgins.homeip.net>
 by: Janis Papanagnou - Sun, 9 Oct 2022 21:39 UTC

On 09.10.2022 23:14, David W. Hodgins wrote:
> On Sun, 09 Oct 2022 14:01:42 -0400, Esau Laguna <esaulaguna12@gmail.com>
> wrote:
>
>> El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames
>> HisWife escribió:
>>> On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
>>> > "Dan Mercer" <dme...@mn.rr.com> wrote in message
>>> > news:1Pbmb.70116$832....@twister.rdc-kc.rr.com...
>
> Please learn to look at the dates. You're following up to a 2 year old
> message
> that was a follow up to a 7 year old message.

ITYM; "a follow up to a 17 year old message."

Janis

Re: ssh in a loop

<op.1tsmxln8a3w0dxdave@hodgins.homeip.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=6742&group=comp.unix.shell#6742

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.unix.shell
Subject: Re: ssh in a loop
Date: Sun, 09 Oct 2022 18:47:35 -0400
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <op.1tsmxln8a3w0dxdave@hodgins.homeip.net>
References: <4IOdnQy7DN-1lASiRVn-sg@speakeasy.net>
<1Pbmb.70116$832.40470@twister.rdc-kc.rr.com>
<WrydnScJq8tE6wSiRVn-gg@speakeasy.net>
<1d16d00e-ac23-4b9e-9dab-b419558bd4d8n@googlegroups.com>
<73d43544-6231-488b-a972-1e69d11bc9ddn@googlegroups.com>
<op.1tsimeraa3w0dxdave@hodgins.homeip.net> <thvf2a$j17e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="d803327e2ba3dd838368600205f65d9d";
logging-data="638889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1883YudoK1EiPNQNiOdeCVWLa9DyHfzd68="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:VyF/Dmb1jDjR6OiyrNRLvV8KBCc=
 by: David W. Hodgins - Sun, 9 Oct 2022 22:47 UTC

On Sun, 09 Oct 2022 17:39:22 -0400, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:

> On 09.10.2022 23:14, David W. Hodgins wrote:
>> On Sun, 09 Oct 2022 14:01:42 -0400, Esau Laguna <esaulaguna12@gmail.com>
>> wrote:
>>
>>> El jueves, 19 de noviembre de 2020 a la(s) 05:59:32 UTC-6, JasonJames
>>> HisWife escribió:
>>>> On Friday, October 24, 2003 at 12:00:14 PM UTC-7, Adam Selene wrote:
>>>> > "Dan Mercer" <dme...@mn.rr.com> wrote in message
>>>> > news:1Pbmb.70116$832....@twister.rdc-kc.rr.com...
>>
>> Please learn to look at the dates. You're following up to a 2 year old
>> message
>> that was a follow up to a 7 year old message.
>
> ITYM; "a follow up to a 17 year old message."

Lol. Yep.

Regards, Dave Hodgins

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor