HI ,,
I have written a shell script it working fine but now i am facing this error
ssh_exchange_identification: Connection closed by remote host
lost connection
this is script
ssh root@127.1.2.2 'snoop -d bge0 -o /home/packet.cap host 127.5.5.5 ; exit'
ssh root@127.1.2.2 'scp /home/packet.cap root@127.5.2.2:/usr/; rm /home/packet.cap; exit'
and i added public/private key authentication too .
thanks