Hi Himanshu, I'm thinking svn hook is a non interactive session which call capistrano script, but I'm not sure.
Could you connect from B to C by hand? Does exist the file /dev/tty in the servers? Regards 2011/7/29 Himanshu Raina <[email protected]> > I have a hook script in svn that gets invoked whenever a code is committed > to the repository. The hook script resides on Server A and does SSH to > Server B that has capistrano deployment scripts. The capistrano deployment > script deploys the code on Server C. > > > Server A - mydomain.com > Server B - 192.168.2.2 > Server C - 192.168.2.3 > > /usr/bin/ssh [email protected] 'cd /deploy/Project/config; /usr/bin/cap > deploy:php tagid=awesome_tag' > Host key verification failed. > > On debugging ssh output got the following > > debug1: read_passphrase: can't open /dev/tty: No such device or address > Host key verification failed. > > > Regards, > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
