Can't clone remote Git mirror over HTTP, but can over SSH
I wanted to mirror my git repository, so I did the following over SSH:
$ mkdir tvshowtracker.git
$ cd tvshowtracker.git
$ git init --bare
$ git remote add rolisoftdotnet ssh://email@example.com/repos/tvshowtracker.git
$ git push rolisoftdotnet master
Now, if I want to clone my repository elsewhere, it works if I do it over SSH:
$ git clone ssh://firstname.lastname@example.org/repos/tvshowtracker.git
Cloning into tvshowtracker...
remote: Counting objects: 1423, done.
remote: Compressing objects: 100% (460/460), done.
remote: Total 1423 (delta 953), reused 1423 (delta 953)
Receiving objects: 100% (1423/1423), 2.08 MiB | 355 KiB/s, done.
Resolving deltas: 100% (953/953), done.
However, if I want to do it over HTTP, it fails with this error:
$ git clone http://lab.rolisoft.net/repos/tvshowtracker.git
Cloning into tvshowtracker...
warning: remote HEAD refers to nonexistent ref, unable to checkout.
I tried issuing every command I've seen in related posts, but nothing helped.
I just started playing with git, so I don't know what 90% of the commands do, but I tried them anyways.
$ git push --all rolisoftdotnet
$ git branch -r
$ git branch master rolisoftdotnet/master
$ git checkout master
The reason I'd like HTTP access is to provide a public read-only access to my project.
Is there a desktop client for managing Redis over SSH tunnel? I can't found anything at homepage. My preffered os is MacOS, but if something exists which can works under wine, it's ok for me
Since which git version is it possible to to do git clone --mirror? Searching for git version history did not really get the right results...
What's the easiest way to establish an emulated TCP connection over HTTP with python 2.7.x? Server: a python program on pythonanywhere (or some analogue) free hosting, that doesn't provide a dedicate
I have generated a public key, private key pair. I've set the public key to the site. How to use the console in windows to clone a git repository? What do I do with the private key? I keep getting: th
I'm using a VWWare image of Ubuntu 8.04 and experiencing problems while setting up git access over SSH I get the following output debug1: Authentications that can continue: publickey debug1: Next auth
How can I download a file (or clone the repo) from a secure Git Repo (e.g. SSH on GitHub), then commit changes back to the repo using Ruby Grit? Thanks!
If I interact with Github over SSH using the git account, how does it know which files to let me access? Is it possible on the server to detect which specific key in the authorized_keys file was used
I have cloned my git repository over ssh. So, each time I communicate with the origin master by pushing or pulling, I have to reenter my password. How can I configure git so that I do not need to ente
Is SOAP over HTTP a subset of XML over HTTP since I assume SOAP also an xml that confirms to a schema (SOAP schema)? I assume XML over HTTP service can either be accessed using GET or POST method. Doe
I am trying running a cuda app written using cudamat (a python interface for cuda) over ssh. I don't understand why it only works if I connect with the -X option; If I don't, I get the message: Una
I am trying to get the value of uname -r from a remote machine over ssh and use that value in my local script flow. kern_ver=uname -r sshpass -p $passwd ssh -o StrictHostKeyChecking=no root@$c 'kern
I got some strange problems when migrating my old git repository which resides in a redmine, to my new Gerrit repository. Basically i made a git clone --mirror ssh:// .... old-repo.git cd old-repo.git
I'd like to establish an ssh tunnel over ssh to my mysql server. Ideally I'd return a mysqli db pointer just like I was connecting directly. I'm on a shared host that doesn't have the SSH2 libraries b
Is it possible to ssh to a remote server and trigger a git clone. ie I need to ssh to server A, create a folder /tmp/A and clone a repository with all its contents on A. The ssh keys of the remote ser
The I have an ssh session open to a remote box running a .net process. I have installed the remote debugger. I have set up tunnel for tcp/135, tcp/139, tcp/445, udp/137, and udp/138. What am I missing
I am looking to execute a password change over Net-ssh and this code seems to hang: Net::SSH.start(server_ip, user, :verbose => :debug ) do |session| session.process.popen3(ls) do |input, outpu
I have two servers, A and B. A has the repo and can ssh to B. B is a new server I want to have the repo, but cannot ssh to A. I've tried copying the repo, create a remote to push, git clone with a -u.
I am trying to get git-svn working with the teamcity remote run. Anyone had success witht that ? The main querstion here is whether that is actually possible.
On BitBucket and GitHub, you cannot clone a public repo via the Git/SSH protocol unless your SSH key is authorised . You can clone them via HTTPS - you just wont' have push access. Why is this? Cou
I am looking for a simple way to import/copy images from remote server to a local folder using PHP. I have no FTP access to the server, but all remote images can be accessed via HTTP (i.e. http://www.
I have GIT running on a private server using SSH. Every time I pull from the remote I am prompted for a password: AWS-Box:/home/git/site$ sudo git pull origin master git@remoteserver password: Howeve
I am building a simple flash game where user can drag objects from a tool-box and drag over to an area. On dragging the object, I create a clone of that object and place it over the area. Here is my c
I have some software which periodically uploads data to a remote location. At the remote location (maintained by a customer or a supplier so somewhat out of my control), there's a script running which
How do we clone a repo which is in the local directory to a remote mchine directory machine1:/usr/rep/ -> clone this to machine2:/var/new_repo what is the actual command for this EDIT1 I am tryi
I'm trying to a run a python script directly over ssh like this: ssh hostname python_script Unfortunately nothing happens after python starts, and in fact the python process that is created remotely
This issue is not the same as git - how to mirror file from other repo or GIT: How do I update my bare repo? Since a repository cloned with --mirror is a bare repository, can I make a repository clone
I've got an enigma for you guys! After an half a day struggle on this issue, I require your experience to enlighten me on git usage on Windows with msysgit. The context: Windows 8 msysgit, last versi
ok I don't know how to change rvm version over ssh under os x server. What I do: Login on server over ssh run script (below) and catch error Error: 'rvm is not a funciton, many-many-words' What I ha
i cannot find git-remote-http command in shell, why there is such process? i only opened one git svn process, why there are so many git related processes? [mirror@home git]$ pgrep git 12035 12036 2230
So I recently had to reinstall my OS which meant ssh-keygen. After logging into git it shows my new key as authenticated, but I am unable to clone anything. Facts: I am using Elementary OS which is a
Possible Duplicate: What RPC module should I use to implement RCP in Python and be able to change connection method later? I am looking for RPC solution that can be used over different protocols lik
There is a bare remote (let's call it group_origin). I made a bare mirror clone of it (my_origin). I git clone my_origin to a repository with a working directory (my_rep). In my_rep I code, push to my
I am trying to setup a shared git repository via ssh, copying users public keys to the authorized_keys. I'd really like the username from the ssh-key to be part of the commit history in the repo (so
I am developing a script to go to a server and copy files within the server with perl over ssh.I log in into the remote server and than execute: *my ($stdout,$stderr,$exit) = $ssh->cmd(mkdir $dest
is there a Perl IDE / Editor that supports working on files remotely (via SSH)? Currently I'm using the shell with vim & nano on the remote machine, and when working locally, I usually use Aptana
Is it possible to run a git server over ssh, using authorized_keys and command= to restrict access to only the git repositories, without using gitosis/gitolite?
I decided to learn how to use Version Control over Christmas break, so I downloaded Git, opened a GitHub account and started reading the online tutorial linked to from the GitHub website. When I got t
I'm currently writing a deployment framework in PHP. The framework connects to servers and executes commands over SSH. I've been looking for quite a while trying to find a way in PHP to do this better
I'm using git repo with git-http-backend. In apache2 I have location what needs authentication for clone and push actions. When I protected it location with AuthType Basic all works is fine, git passe
I have a Git repository in a directory served by apache on a server. I have configured WebDAV and it seems to be running correctly. Litmus returns 100% success. I can clone my repository from a remote
I am trying to recursively compare a directory in the local host to a directory in a remote linux machine. However, when i execute the next command: diff -r 'ssh email@example.com:/home/admin' /home/adm
In my development shop, we deploy code on virtual servers that sit on a remote network. We access the machines on that network by first opening an SSH connection to a gateway server, and then SSH-tunn
I'm trying to clone a project that is remotly located to my local machine. So: 1) I navigate to the local folder where I want to have my files. 2) I connect to ssh on the remote machine: ssh something
using Gitolite on a Ubuntu server. Have a project im working on that i need a particular syntax for the git command. Works great: git clone gitolite@servername:testing.git Asks for a password git clon
I'm having a problem where trying to do a git push hangs up while Writing objects. This is not the common scenario of Windows and git-daemon that I have seen answered elsewhere. This is Linux to Lin
I am writing a file syncing application where I collect event from the filesystem whenever the file is modified and than later I copy it over to remote share via rsync over ssh. In my setup I have a s
$ git clone firstname.lastname@example.org:package/my-package.git my-project Cloning into 'myproject'... ssh: connect to host github.com port 2222: Connection timed out fatal: Could not read from remote repository. P
I am writing a script in bash which needs to do things like: ssh -q 192.168.0.123 echo $FOO $BAR My questions are in fact two: How do I pass a local variable from the machine that is invoking it ($F
I trying to pass a Perl script over SSH that takes arguments. I works fine like this: returnValue=$(ssh myuser$server 'perl -s' < /path/to/my/script) However, if I add some arguments returnValue=$
I'm trying to run git clone without ssh checking the repository host's key. I can do it from ssh like that: ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@host Is there any way