Displaying 2 results from an estimated 2 matches for "nbcuv01p".
2015 Aug 25
6
echo password into bash script
...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='nbcuV01P!'
+ ssh=/usr/bin/ssh
+ scp=/usr/bin/scp
+ for i in 10.10.10.2{5.6}
+ echo 'xfring key up'
xfring key up
+ echo 'my_pass'
+ /usr/bin/scp /Users/my_user/.ssh/id_rsa.pub digitalplatform at 10.10.10.25:
Password:
Can someone please let me know where I'm going wrong?
Thanks
Tim...
2015 Aug 25
0
echo password into bash script
...; 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='nbcuV01P!'
> + ssh=/usr/bin/ssh
> + scp=/usr/bin/scp
> + for i in 10.10.10.2{5.6}
> + echo 'xfring key up'
> xfring key up
> + echo 'my_pass'
> + /usr/bin/scp /Users/my_user/.ssh/id_rsa.pub digitalplatform at 10.10.10.25:
> Password:
>
> Can someone please l...