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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -