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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -