typo to prison
Alex Fraser
beatnic at comcast.net
Thu Mar 7 14:52:43 EST 2019
I've got 4 Raspberry Pi's running headless and I'm using a Linux Mint
machine as my control station. I'm getting the hang of Bash scripts,
though what runs where is still confusing. Late last night I decided
to shut down everything, so of course decided to write a script to go
through each Pi and shut it down.
a line of the code
ssh pi at pi2.host shutdown -h now
this of course should have been
ssh pi at pi2.local shutdown -h now
When I ran the first one it seemed to do nothing. I had shared a key
with all my Pi so as to not have to use a password. I exited and ran it
again waiting a bit longer. I got a not invalid key error and an IP4
address out on the real internet. I just hope I haven't popped up on
some terrorist list as trying to shutdown some part of the grid. I
wonder how often things escape onto the net like that?
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amrad.org/pipermail/tacos/attachments/20190307/29dbb752/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature-pic.jpg
Type: image/jpeg
Size: 17945 bytes
Desc: not available
URL: <http://lists.amrad.org/pipermail/tacos/attachments/20190307/29dbb752/attachment-0001.jpg>
More information about the Tacos
mailing list