Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.1.1.1 router1
- 2.2.2.2 router2
- while read -r ip name
- do
- sshpass -p "pass" ssh -o StrictHostKeyChecking=no export@$ip "/export;/quit" 2> errors.log >> $name.export
- done < iplistandnamefile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement