Wednesday, October 2, 2013

Taking Input Without Using Keyboard in Linux Script

www.unixbabuforum.inI am using this command in shell script trying to copy a file from one machine to another 

scp root@ip address: /home/praveen/test.c /home/praveen 
enter password's: 
but I don't want to enter password by using keyboard. It should be some another way.
I tried by passing it through command lines, but it's not working out.
www.unixbabuforum.inVisit: set ssh-keygen!


Post a Comment

Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM