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: 
http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/www.unixbabuforum.in set ssh-keygen!

0 comments:

Post a Comment

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