Is there a way to log into a server without using passwords coded into the
script?
I'm trying to retrieve files from a server for every computer I have based on
the serial number of the machine.
This is what I have so far. (I'm very new to bash. Any advice would be helpful)
#!/bin/sh
myseria
The files in question are generated on the server and cannot be generated on
each machine. I need a way to distribute them and they are keyed to each
machines serial number.
The files in question are generated on the server and cannot be generated on
each machine. I need a way to distribute them and they are keyed to each
machines serial number.
They are security keys for talking to a third server.
Yes, my main issue is that there are many computers connecting to one server.
Puppet is way above my pay scale and I decided to give up learning it.
I tried setting up ssh-keygen, but if I'm correct, I would need every client
machine to generate a key, send the public key to the server, and then add it
to the authorized_keys file. It doesn't make sense to do this that way.
Thanks.