Solution 3: ssh root@<your_server_ip>
git clone [email protected]:you/project.git <type yes> Tekkub GitHub Tech Support http://support.github.com/ Join us on IRC: #github on freenode.net Discussion group: [email protected] On Mon, Dec 28, 2009 at 5:07 PM, wroscoe <[email protected]> wrote: > This took me longer than it should have to figure out. Maybe this will > save other people time. > Search terms I tried: remote ssh git clone non-login script > > This does NOT work... > wros...@wroscoe-laptop:~$ ssh root@<my_server_ip> 'git clone > [email protected]:me/project.git' > Initialized empty Git repository in /root/workbench/project/.git/ > Host key verification failed. > fatal: The remote end hung up unexpectedly > > Solution 1: (pipe "yes")... > wros...@wroscoe-laptop:~$ ssh root@<my_server_ip> 'echo "yes" | git > clone [email protected]:me/project.git' > > Solution 2: (use the quite [-q] option)... > wros...@wroscoe-laptop:~$ ssh root@<my_server_ip> 'git clone -q > [email protected]:me/project.git' > > > > Search terms I tried: remote ssh git clone non-login script > > -- > > You received this message because you are subscribed to the Google Groups > "GitHub" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<github%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/github?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "GitHub" 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/github?hl=en.
