[CentOS] Can expect do this?
John R Pierce
pierce at hogranch.comTue Nov 11 09:49:05 UTC 2008
- Previous message: [CentOS] Can expect do this?
- Next message: [CentOS] Can expect do this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fajar Priyanto wrote: > Hi all, > I'm trying to scp some files from machine1 to machine2. > But, I'm in an environment where PubKeyAuthentication is not allowed in ssh :( > you really should convince whomever has made that boneheaded decision that its a lot MORE secure than requiring you to put the password in plaintext scripts > So, I'm confused how to automate it as cronjob. > However, I read somewhere that we can write a little bash script that > will utilize 'expect' to answer for the ssh password prompt > dunno, never tried. seems to have a nice long man page with lots of examples.
- Previous message: [CentOS] Can expect do this?
- Next message: [CentOS] Can expect do this?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list