<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alistair Mckeown</title>
    <description>The latest articles on DEV Community by Alistair Mckeown (@surfbum99).</description>
    <link>https://dev.to/surfbum99</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F513878%2Fa0627df1-95bb-49f5-91e6-1838041b1d1b.jpeg</url>
      <title>DEV Community: Alistair Mckeown</title>
      <link>https://dev.to/surfbum99</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/surfbum99"/>
    <language>en</language>
    <item>
      <title>Bash script for testing logging on</title>
      <dc:creator>Alistair Mckeown</dc:creator>
      <pubDate>Fri, 13 Nov 2020 14:44:57 +0000</pubDate>
      <link>https://dev.to/surfbum99/bash-script-for-testing-logging-on-45c5</link>
      <guid>https://dev.to/surfbum99/bash-script-for-testing-logging-on-45c5</guid>
      <description>&lt;p&gt;HI,&lt;br&gt;
I haven't done Bash scripting in a while. Got a simple problem. I want to test the logging on via ssh to 100+ servers from a single jumpbox.&lt;/p&gt;

&lt;h1&gt;
  
  
  !/bin/bash
&lt;/h1&gt;

&lt;p&gt;for host in $(cat servers.txt)&lt;br&gt;
     do              ssh -q -o NumberOfPasswordPrompts=1 "$host" "hostname"&lt;br&gt;
     done &amp;gt; test.log&lt;/p&gt;

&lt;p&gt;This is my attempt its pretty simple and works as long as you're pressing the return key all the time!&lt;/p&gt;

&lt;p&gt;Is there anything better out there?&lt;/p&gt;

</description>
      <category>bash</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
