Tag Info

New answers tagged

1

If you need the public key for whitelisting, you cannot pick it from failed attempt. It is not about sshd or its configuration at all, but the protocol itself, as public key authentication goes this way: Client sends an ID for the key pair. Server compares the ID to the authorized_keys file. Server generates a random number and uses the matching public key ...


0

sshd doesn't actually log the publickeys used in login attempts, successful or otherwise. The closest it gets is to log the fingerprint of the public key at LogLevel VERBOSE. Push the publickey via some other method than failed login attempt. E.g. upload to a cgi/php script that records (either rate controlled appends or overrides ) the key to a file ...


1

Turns out, this was due to having changed the port number of ssh in /etc/services Debug steps in case others have similar problems: First I ran: GIT_CURL_VERBOSE=1 GIT_TRACE=1 git ls-remote git@github.com:<github_user>/<app_name> In the debug, the following line was hanging: trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack ...


2

I would be remiss if I didn't point out the spectacular lack of research in your question, but here's your answer: yum install git-daemon


1

I think that the initial question is how to push to different branches in the same repo. One way to archive this is to use the syntax: git push faruser@farhost:somedir master:server1 This will push the local 'master' branch to the remote 'server1' branch. You can have variation on this, such as: git push faruser@farhost:somedir master:auto/$(hostname) ...


1

I have an outdated (1.8.X) installation of Git for Windows1 so this might be not up to date, but from what I see in my installation, ssh.exe (which is a build of OpenSSH) depends on msys-crypto-X.Y.Z.dll while openssl.exe depends on that library and msys-ssl-X.Y.Z.dll with these X.Y.Z parts matching ("0.9.8" in my case). These libraries are located in the ...


1

authentication works via ssh. have you added the public ssh-key of the jenkins user to the git-user on your git-server? let me know if you need instructions on how to set up ssh-authentication and i'll edit this post here. /EDIT: glad you got it running. i looked on the official jenkins website for a detailed manual on the ssh part of the configuration, ...


0

I once developped a backup solution based on subversion. While it worked quite well (and git should work even better), I think there are better solutions out here. I consider rsnapshot to be one of the better - if not the better. With a good use of hard link, I have a 300 GB fileserver (with half a million files) with daily, weekly and montly backup going ...


1

I use git as a backup for my Windows system, and it's been incredibly useful. At the bottom of the post, I show the scripts I use to configure on a Windows system. Using git as a backup for any system provides 2 big advantages: Unlike commercial solutions often use their own proprietary format, your backup is in an open source format that is widely ...


0

You can use my plugin for dokku (https://github.com/sibeliusseraphini/dokku-custom-procfile-plugin) you just need to set a PROCFILE="web: npm start" env var using dokku config:set $APP (or heroku config:set $APP PROCFILE="...")


0

If you are using Git command line for Windows you can do as following: Open cmd.exe and execute setx HOME c:\PATH_TO_PRIVATE_KEY Create new folder .ssh (if not exist) inside c:\PATH_TO_PRIVATE_KEY and copy your id_rsa file (your private key) into it. Done, now you can use git commanline normally


0

It is possible to add a remote branch configuration to map the master branch of etckeeper repository from each server to a branch on the remote repository. To do that you can run the following commands on each server: cd /etc git branch -m master $HOSTNAME git remote add origin git@git.example.com:path/to/single/repo.git git push -u origin master:$HOSTNAME ...


0

$ git clone http://user:pass@git.domain.local/local.git Cloning into 'local'... warning: You appear to have cloned an empty repository. Checking connectivity... done. According to the above it appears you are cloning an empty repository which wouldn't allow you to push. Make sure you are not cloning an empty repo. If this is the initial commit however: ...


0

It sounds like you have two keys. You need to have each public key installed on the Gerrit instance for the user.


0

$ git config http.postBuffer 524288000 Solved issue, as mentioned here



Top 50 recent answers are included