search for: dps_pass

Displaying 5 results from an estimated 5 matches for "dps_pass".

2015 Aug 25
6
echo password into bash script
Hey guys, I'm trying to echo my password into some commands inside of a bash script. But I think I'm going about it incorrectly. Here's the top part of my script: #!/bin/bash pub="~/.ssh/id_rsa.pub" dps_pass="my_pass" ssh="/usr/bin/ssh" scp="/usr/bin/scp" for i in 10.10.10.2{5,6} do echo "xfring key up" echo $dps_pass | $scp $PUB digitalplatform@$i: And here's how it executes: #bash -x deploy_key.sh + pub='~/.ssh/id_rsa.pub' + dps_pass='nbcu...
2015 Aug 25
0
echo password into bash script
...t gmail.com> kirjoitti: > Hey guys, > > I'm trying to echo my password into some commands inside of a bash script. > But I think I'm going about it incorrectly. > > Here's the top part of my script: > > #!/bin/bash > pub="~/.ssh/id_rsa.pub" > dps_pass="my_pass" > ssh="/usr/bin/ssh" > scp="/usr/bin/scp" > for i in 10.10.10.2{5,6} > do > echo "xfring key up" > echo $dps_pass | $scp $PUB digitalplatform@$i: > > > And here's how it executes: > > #bash -x deploy_key.sh &g...
2015 Aug 25
0
echo password into bash script
...12:51 PM, Tim Dunphy wrote: > Hey guys, > > I'm trying to echo my password into some commands inside of a bash script. > But I think I'm going about it incorrectly. > > Here's the top part of my script: > > #!/bin/bash > pub="~/.ssh/id_rsa.pub" > dps_pass="my_pass" > ssh="/usr/bin/ssh" > scp="/usr/bin/scp" > for i in 10.10.10.2{5,6} > do > echo "xfring key up" > echo $dps_pass | $scp $PUB digitalplatform@$i: > > > And here's how it executes: > > #bash -x deploy_key.sh &g...
2015 Aug 25
0
echo password into bash script
...51 AM, Tim Dunphy wrote: > Hey guys, > > I'm trying to echo my password into some commands inside of a bash script. > But I think I'm going about it incorrectly. > > Here's the top part of my script: > > #!/bin/bash > pub="~/.ssh/id_rsa.pub" > dps_pass="my_pass" > ssh="/usr/bin/ssh" > scp="/usr/bin/scp" > for i in 10.10.10.2{5,6} > do > echo "xfring key up" > echo $dps_pass | $scp $PUB digitalplatform@$i: Don't try to automate your password like this for scp or other ssh-related app...
2015 Aug 25
1
echo password into bash script
...t; > > I'm trying to echo my password into some commands inside of a bash > script. > > But I think I'm going about it incorrectly. > > > > Here's the top part of my script: > > > > #!/bin/bash > > pub="~/.ssh/id_rsa.pub" > > dps_pass="my_pass" > > ssh="/usr/bin/ssh" > > scp="/usr/bin/scp" > > for i in 10.10.10.2{5,6} > > do > > echo "xfring key up" > > echo $dps_pass | $scp $PUB digitalplatform@$i: > > Don't try to automate your password lik...