I also came across with the above error message while using ssh.
I tried ssh in 2 machines in a loop. Only 1 showed(machine 21, below) the error. And in that machine(21)i had changed the password once before i ssh. So i think the error may be because of the password change.
Please note that ssh allows to login usig private/public key pair even after the password of the machine is changed.
I also came across with the above error message while using ssh.
I tried ssh in 2 machines in a loop. Only 1 showed(machine 21, below) the error. And in that machine(21)i had changed the password once before i ssh. So i think the error may be because of the password change.
Please note that ssh allows to login usig private/public key pair even after the password of the machine is changed.
See below the results...
[root@perfume2006 hance]# bash -x ./Desktop/ Scripts/ install 21 22 Downloads/ midsem_ solutions_ EE-733. pdf root@10. 107.3.21: /home/pclab/ Documents/ Downloads/ test_program root@10. 107.3.21: /home/pclab/ Documents/
+ rm -rf out
+ x=21
+ '[' 21 -le 22 ']'
++ ping -w4 -q 10.107.3.21
++ grep packets
++ awk -v id=21 '{if ($6!="100%") print "10.107.3."id}'
+ m_id=10.107.3.21
+ scp -q /home/hance/
+ rsync -avz /home/hance/
Agent admitted failure to sign using the key.
sending incremental file list
sent 37 bytes received 12 bytes 8.91 bytes/sec Documents/ test_program Downloads/ midsem_ solutions_ EE-733. pdf root@10. 107.3.22: /home/pclab/ Documents/ Downloads/ test_program root@10. 107.3.22: /home/pclab/ Documents/
total size is 75 speedup is 1.53
+ ssh root@10.107.3.21 /home/pclab/
Agent admitted failure to sign using the key.
++ expr 21 + 1
+ x=22
+ '[' 22 -le 22 ']'
++ ping -w4 -q 10.107.3.22
++ awk -v id=22 '{if ($6!="100%") print "10.107.3."id}'
++ grep packets
+ m_id=10.107.3.22
+ scp -q /home/hance/
+ rsync -avz /home/hance/
sending incremental file list
sent 37 bytes received 12 bytes 8.91 bytes/sec Documents/ test_program Scripts/ install 22 Scripts/ install: line 3: [: 22: unary operator expected Scripts/ install 22 22 Downloads/ midsem_ solutions_ EE-733. pdf root@10. 107.3.22: /home/pclab/ Documents/ Downloads/ test_program root@10. 107.3.22: /home/pclab/ Documents/
total size is 75 speedup is 1.53
+ ssh root@10.107.3.22 /home/pclab/
++ expr 22 + 1
+ x=23
+ '[' 23 -le 22 ']'
[root@perfume2006 hance]# bash -x ./Desktop/
+ rm -rf out
+ x=22
+ '[' 22 -le ']'
./Desktop/
[root@perfume2006 hance]# bash -x ./Desktop/
+ rm -rf out
+ x=22
+ '[' 22 -le 22 ']'
++ ping -w4 -q 10.107.3.22
++ grep packets
++ awk -v id=22 '{if ($6!="100%") print "10.107.3."id}'
+ m_id=10.107.3.22
+ scp -q /home/hance/
+ rsync -avz /home/hance/
sending incremental file list
sent 37 bytes received 12 bytes 8.91 bytes/sec Documents/ test_program
total size is 75 speedup is 1.53
+ ssh root@10.107.3.22 /home/pclab/
++ expr 22 + 1
+ x=23
+ '[' 23 -le 22 ']'