All Questions
30
questions
1
vote
1
answer
64
views
Remote Linux server GitHub permission denied publickey issues
I am experiencing publickey permission issues when trying to pull a private repo from GitHub to a remote Linux server.
Update
Ran ssh -v -o IdentitiesOnly=yes -i ~/.ssh/id_rsa [email protected] command ...
4
votes
1
answer
2k
views
SSH agent: `sign_and_send_pubkey: signing failed for ECDSA-SK ... from agent: agent refused operation` except very first time
I have an ecdsa-sk keypair that I generated and added to my github account (tied to a yubikey). If I try any connection using that key, such as git push, I get:
sign_and_send_pubkey: signing failed ...
0
votes
2
answers
2k
views
Local GitLab Not Accepting SSH Key
I checked out this post, but it seems like it was written for OSX and/or Windows, and I'm not really sure how to apply it to my situation:
GitLab Not Working With SSH-Keys
I set up my GitLab instance ...
0
votes
0
answers
604
views
ssh public key auth fails for private git server
I want to git push from a local debian 10 user to my server (debian 10) where I have set up a git server under the username git using ssh public key auth. The problem is: it still asks for the ...
0
votes
1
answer
96
views
Automating SSH authentication to GitHub - what should ~/.ssh/config file look like?
I'm trying to automate logins to GitHub using a private key, so that I can do "git pull/add/commit/push" from a BASH script. If I put this in ~/.ssh/config, it works:
Hostname github.com
User git
...
0
votes
1
answer
242
views
How to push code in GitHub bare repo with private / public keys [closed]
I have a server where I have a bare repo with a node.js application. I pushed the code without the node_modules and installed them directly on the Server. Heres my problem: The changes (node_modules) ...
1
vote
0
answers
487
views
GitLab Server's SSH service seems to not be pulling in GitLab account key for authentication for a user
Git access fails with "Permission denied, please try again." after a client changed their system processor.
Is there a way to check to see if SSHD is getting the proper auth / key info from GitLab's ...
0
votes
1
answer
4k
views
How to *dynamically* specify which key to use for git?
All solutions I've seen so far assume that I want to use a certain key statically. Whereas I want to use a key dynamically: I want to specify what key to use as I run a git command every time. One ...
0
votes
1
answer
110
views
How do I configure my ssh-server, so that it can use the same user name to log in to different users, as github do?
We can use [email protected] and just provision the 'git' as the login name for github at work.
How do I configure my ssh-server, so that it can use the same user name to log in to different users, just ...
6
votes
2
answers
3k
views
ECDSA key fingerprint - looks like it is base64 encoded, but too few characters
I've setup a GitLab VM, and have created a project on it. Now I'm trying to connect to it from another machine using my git client (Git for Windows v2.7.1...also tried upgrading to latest version ...
23
votes
3
answers
34k
views
Putting RSA keys into azure key vault
How can I store my key pair (typically the id_rsa and id_rsa.pub) in azure key vault.
I want to put the public key in my GIT service and allow a virtual machine to download the private key from Azure ...
0
votes
1
answer
5k
views
Ansible can't git clone from enterprise git server
Hi I have enterprise git server where I created a private test-repo and added a ssh-key on the deploy ssh key form. I defined a git role in my common roles which is having below yml definition.
---
-...
2
votes
1
answer
23k
views
difference between https git clone and ssh git clone
Hi I am using git for a while now however I am new to enterprise git. here
Is what I did with my test-repo I created a ssh key pair and added public key to my test repo as deploy key. Now I can clone ...
1
vote
0
answers
825
views
Enabling SSH for deploy of a bitbucket git repo
I'm trying to deploy my git repo to my server. To make this work I first needed to setup ssh on my locale computer and on my server.
for bitbucket I followed https://confluence.atlassian.com/...
5
votes
1
answer
4k
views
Git: expire ssh keys just like passwords expire?
I'm setting up git in a corporate environment. Git operations will be primarily though SSH using a single account with SSH keys used for access control. (http will be used for account configuration, ...
3
votes
2
answers
559
views
sshd: logging client's public key
I need to run an SSH server and log the IP & public key of any client that attempts to connect (without actually granting access).
The use case is this: I deploy this web app to a remote host ...
0
votes
1
answer
878
views
GitLab push not possible and always results in asking for git-user password [closed]
I have a problem with GitLab. Everything is fine, but I can't push. It is asking me all the time the password of the user git.
Is it a problem, that I first installed the Omnibus package and then ...
0
votes
3
answers
3k
views
git private server error: "Permission denied (publickey)."
I followed the instructions here in order to set up a private git server on my Amazon EC2 instance. However, I am having problems when trying to SSH into the git account. Specifically, I get the error ...
3
votes
1
answer
2k
views
How to set up Git on remote instance using keys from local machine?
I have a setup where I can ssh into my remote server (ie a Google Compute instance) from my local machine. I used to be able to clone, push, and pull from a repository on my remote instance without ...
4
votes
1
answer
4k
views
Change ssh ControlPath with host-specific declaration
I have a situation where I need to access the same SSH host (GitHub) with two different SSH keys. This is no problem and I can set it up easily by aliasing the hostname. The problem comes when this ...
1
vote
2
answers
632
views
SSH Key Forwarding fails as soon as I am root
Situation
I add a ssh-key to the chain using ssh-add -K the_path as user@local
I set up key forwarding as described here https://help.github.com/articles/using-ssh-agent-forwarding
...
1
vote
2
answers
101
views
Securing a remote LAMP server that uses Capistrano for Git deploys
I am deploying my Github repo to a Media Temple Grid Server using Capistrano. In order to do this, I've setup the following:
Enabled logging into the remote server with SSH keys (following this guide)...
1
vote
1
answer
3k
views
Git server SSH user authorization failed
I have been installed gitlabhq on SERVER.
I have issue while cloning repo from client machine. Not work:
client> git clone [email protected]:myrepo.git /tmp/myrepo
client> ssh [email protected]....
0
votes
1
answer
466
views
Write permissions of www-data user and public key issue
I am using Ubuntu and I am having the following problem.
I am using a PHP function called exec to get the latest git changes from my remote repo.
E.g.: exec("git pull");.
The file is placed in /var/...
0
votes
2
answers
105
views
Remote host making strange request. Am I safe?
I am starting work for an organization on their server. They need to allow connections from my server in order to use GIT over SSH.
They asked me to place this in my SSH directory:
SHORTNAME=abcdef
...
2
votes
1
answer
2k
views
Deploying git repo on production server without account password
What I would like to do
How can I clone a git repository on my production server, without providing the account's password, and passphrase for the SSH key?
Perhaps what I'm asking is not possible. ...
0
votes
1
answer
250
views
setting up gitosis: avoiding duplicate user keys
i'm following this guide to setting up gitosis.
i run all this on the git server, including creating credentials for my user (in the git server) with the ssh-keygen -t dsa step
now, from some other ...
2
votes
2
answers
322
views
"Half" ssh authorization to a server with git repository
Currently I have purchased web hosting with ssh access.
I have created a git repository on it and if I set my public key in ~/.ssh/authorized_keys file, I have access to that repo, I can push/pull ...
1
vote
3
answers
372
views
gitosis public key
On my client I am attempting to run:
git clone gitosis@DevServer:gitosis-admin.git
I get a warning:
The authenticity of host '10.1.1.13
(10.1.1.13)' can't be established. RSA
key fingerprint ...
0
votes
1
answer
167
views
multi level ssh to pull and push git repo
I recently setup gitosis . Here is the scenario. I setup gitosis on Server S1 and multiple users have logins and all their id_rsa.pub have been setup so that their commits as a user get commited to ...