[CentOS] echo password into bash script

Peter peter at pajamian.dhs.org
Wed Aug 26 02:15:35 UTC 2015


On 08/26/2015 08:14 AM, Tim Dunphy wrote:
> Well, look at the lines in my script that I'm showing here. That's exactly
> what I'm doing. Copying up my public key so that later in the script (which
> I didn't show, no need to I think) is to cat the public key into place and
> make sure there are proper permissions etc on the .ssh directory on the
> remote machine.

So you're re-inventing ssh-copy-id?


Peter



More information about the CentOS mailing list