linux - Shell scripting for login -
is there way login machine specifying password in script itself??
ssh-keygen wont work me need specify in script
  #!/bin/sh      ssh root@201.1.192.21 mysqldump -uroot -pxxxxxx > backup/a.sql      
you can use expect.
Comments
Post a Comment