2
votes
1answer
23 views

Repository for Family Pictures [closed]

I have a Debian computer and a MacBook Air. On Debian I created a repository: mkdir -p /repository/git/2014.git cd /repository/git/2014.git git init --bare --shared On the MacBook I then typed: cd ...
1
vote
1answer
32 views

How to check if SSH compression is enabled?

I am experiencing severe slowdown in Git checkouts from VM. I've been told that one of the reasons may be SSH compression (either enabled or disabled). How to check that is the state of compression ...
1
vote
0answers
88 views

SSH Agent Forwarding on server

I'm struggling with the concept of SSH Agent Forwarding. This is what I've done so far: Create default identity local (ssh-keygen) Install the public key on bitbucket Now I want to connect to a ...
1
vote
0answers
147 views

sudo -u git clone

I'm on Ubuntu server 14.04. I am using apache web server which runs as the www-data. I need to do git clone from a script (a web hook). This script will run with www-data user privilages. Running ...
2
votes
1answer
54 views

What commands does git use when communicating via ssh?

Using command="" in authorized_keys, I can restrict the commands that can be run by a particular key. What commands do I need to allow in order to have a functioning git remote? From the Pro Git ...
3
votes
1answer
332 views

command line method or programtically add ssh key to github.com user account

Is there a way to identify with a username and password to github.com servers for the purpose of adding an ssh key to the github user account? So far everything I've read suggests that a users ssh key ...
-1
votes
1answer
452 views

Operation timed out SSH to GitHub

I'm trying to organise my ~/.ssh/ folder, so I've created ~/.ssh/git/id_rsa and ~/.ssh/git/id_rsa.pub for my GitHub account. I've also created a config file, as below: Host github.com User ...
1
vote
0answers
125 views

ssh-agent on CentOS 6.5 keeps “disabling” itself

I recently installed git on my CentOS 6.5 system. During the process I setup a key/pair for GitHub so I don't have to enter a password for every git process. I did this by adding the rsa file to ...
0
votes
1answer
101 views

git, setting up remote repository without ssh

I want to set up a remote git repository on a openSuse machine, and I have the following question. Do I really need ssh on the machine, to set up the remote git repository? Initially is it possible ...
1
vote
1answer
66 views

Connecting to Github from server

I am trying to connect to Github from a server running Jenkins. To do this, I'm copying my public key from another server, into the authorized_keys on the new server. All I'm getting is the ...
3
votes
1answer
89 views

Is it possible to remove “ssh://” from git remote's URLs?

I'm used to create some manually-made repositories to push code to my pet server or share code inside my company. I use the URL ssh://user@ip/folder.git to add as remotes to my workspaces. I was ...
2
votes
2answers
115 views

High-level user on Media Temple DV managed server (Plesk)

I've recently set up a DV Managed server from Media Temple. I'm not sure if my question is specific to Media Temple, Plesk or Linux in general. I'm open to alternatives but basically what I am trying ...
2
votes
0answers
181 views

SSH login from external authentication

Here is what I try to accomplish: I have a server with a git repository. I use ISPConfig as control panel for our websites and I want to integrate the ISPConfig API for email authentication as second ...
0
votes
1answer
3k views

Why am I getting git error “remote: error: unable to create temporary file: No such file or directory” on push?

This problem is getting weirder. My original post follows, but here is the new thing I discovered: I executed git push and it gave me its usual error: Counting objects: 9, done. Delta ...
3
votes
1answer
987 views

Granting access to a restricted git shell

I tried setting up git-shell on our CentOS (6.4) system (after getting this working correctly on Ubuntu 13.10, maybe cross platform hot mess?) my /etc/passwd shows git:x:500:500:Web Archive ...
4
votes
0answers
847 views

git-upload-pack hangs indefinitely

I have the following call structure: Jenkins runs fab -Huser@host set_repository_commit_hash:123abc. set_repository_commit_hash runs git fetch with pty = False. The child process ssh git@github.com ...
0
votes
1answer
64 views

`git remote add` to home dir by `~` expression

I created git bare repository in my home directory like ~/git-repos/foo.git. To add a remote repository I typed like git remote add origin ssh://username@hostname:10022~/git-repo/foo.git. But it ...
4
votes
1answer
941 views

SSH: “Permission denied” after changing user shell

I have an SSH server running on my Raspberry PI with ALARM (up to date). My user "gitroot" is meant to use the git-shell. However, when i set /usr/bin/git-shell as shell for gitroot in /etc/passwd, i ...
-2
votes
2answers
596 views

Push local git repo to server via ssh

So I have a local repo and a server with git installed and a git user. I want to send (push) the repo to the server. When I simply login to the server via ssh I have to specify my .pem file and a ...
2
votes
1answer
1k views

Getting no tty present and no askpass program specified when using git over ssh

I'm trying to push a git commit from my laptop to my server but keep getting the following error message: remote: sudo: no tty present and no askpass program specified To ...
13
votes
4answers
6k views

How can I solve this ssh-agent problem?

I'm using Linux Mint, and have not been able to get gnome-keyring to unlock automatically at login, it seems. A symptom of my problem is as follows: $ ssh-add Identity added: /home/me/.ssh/id_rsa ...
1
vote
1answer
469 views

Crontab with SVN and Git

I have some repos which are both in SVN and Git. My username is guyfawkes, and in my home directory I have folder www which contains all my repos. In this directory I also have file update.sh: ...
5
votes
2answers
2k views

Passing SSH options to git-clone

I connect to my server using SSH: ssh user@server -p 2224 -zZ abcd I also have a git repository on my server. The only way I know to clone is: git clone ssh://user@server.com:2224/path/to/repo ...
3
votes
5answers
1k views

Configure permissions

I'm sharing a git repository with a friend over SSH. He pushes from and pulls to his git repository using my machine's SSH server, where the shared git repository is. Problem is that when he pushes a ...
0
votes
4answers
438 views

What is the proper way to automate SSH/local command?

I have gitolite on a Centos 5.5 box - when a repository is updated, I need to send a command to my bug tracking appliance to get the new commands. Right now, I have the following command working: ssh ...
12
votes
3answers
7k views

Answer yes in a bash script

I'm trying to do a git clone trough a bash script, but the first time that I run the script and the server is not known yet the script fails. I have something like this: yes | git clone ...
0
votes
1answer
664 views

github ssh problem- permission denied(publickey)

I tried setting up git as shown in Github's help page, on Arch linux but there seems to be some problem with the SSH keys. It gives this error- Permission denied (publickey). This problem is ...
3
votes
1answer
5k views

Unable to git clone over ssh

I created a bare git repository and pushed to as root. Then I ran su myuser and ran the following commands: $ whoami myuser $ mkdir t $ cd t $ git clone ssh://myuser@mybox.net:1234/git3 Cloning into ...
0
votes
2answers
759 views

Git Server Bash and SSH

I want to use Git over SSH with my Linode VPS running Ubuntu 10.04 LTS. Instructions seem pretty easy, infact given I had already setup my SSH key etc.. All I had to do was instruct my local ...