1,989 questions
0
votes
1
answer
89
views
Can’t push to GitHub with SSH key
I can’t push to GitHub through the Mac terminal in Eclipse - I found a question about the same problem, but can’t use the answer.
The answer I found: Git does not use SSH key for Github (Mac OS)
But ...
0
votes
0
answers
70
views
Can't switch git accounts when pushin/pulling to 3rd-party repositories
I have 2 different Github accounts, one for college and one for personal stuff.
I'm trying to push some changes in a new branch to a friend's project repository, to which my personal account has write ...
0
votes
1
answer
138
views
How to authenticate a Python package between two repos in GitHub and deploy
We have a private utility repo in GitHub and we would like to be able to install this package with a GitHub Actions. When developing locally I have created a ssh key, uploaded the public key to deploy ...
0
votes
1
answer
276
views
Azure Storage Account sFTP configuration with "Use existing key stored in Azure Key Vault"
While configuring SFTP on an Azure Storage Account, I selected the “Use existing key stored in Azure Key Vault” option to authenticate a local user. However, the dropdown list for selecting the key ...
0
votes
0
answers
29
views
WSL and VS Code - Cannot Save SSH Key
I'm trying to get VS Code to work properly on my Windows Subsystem for Linux. For some reason, I am not able to permanently store the ssh key, and I am asked for the passphrase each time. I can do a ...
0
votes
1
answer
94
views
What public key format does libssh2 expect?
I am using libssh2, where my flow ends up calling _libssh2_userauth_publickey, which itself calls _libssh2_ntohu32(pubkeydata). My understanding is that it should return a small number (e.g. 7 for &...
2
votes
1
answer
84
views
Can't SSH to GitHub using key saved in a custom lcoation
When I generate an ssh key in a different path than the default I can't access by ssh in github, I don't know what the problem is, but I know I have tried many times to generate and use a ssh with a ...
1
vote
1
answer
106
views
Sudden change in access: Permission denied (publickey)
I have been using my local Git and GitHub connection via an SSH key that suddenly (without obvious cause) is not allowing me to manage my remote repo's by push or pull. I've tried deleting the SSH key ...
0
votes
0
answers
50
views
vscode- ssh remote connecting problem for no reaction in a long time
enter image description here
enter image description here
Hello,
I am a freshman for coding. But I met with this problem for so long time. I actually tried so many solutions here but still didn't work....
-1
votes
1
answer
54
views
[email protected]: Permission denied (publickey) from Jenkins job agent
I am getting this error "[email protected]: Permission denied (publickey)." while I try to run git fetch in Jenkins pipeline scripts. This Jenkins server uses an SSH agent(a machine that ...
1
vote
0
answers
138
views
Cannot use SSH key in PhpStorm
I need to connect to my server via SSH using some private key (which is not default id_rsa). The key also requires some passphrase. I had no problem with it in terminal but now I want to connect in ...
0
votes
0
answers
54
views
SSH failure for private github repository
I am attempting to push/pull using SSH to my private github repository. I went through the steps of creating a key, uploading the public key to my github account, and adding it to my ssh-agent, using ...
1
vote
1
answer
71
views
Conflict between two git accounts on same system
I've added two ssh config in ~/.ssh/config:
Host account1
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/USER/.ssh/account2_ssh
Host account2
User git
...
0
votes
1
answer
116
views
Ssh key-based authentication to github inside a github action fails with "Host key verification failed"
In a github action I'm building an Elixir project which has a dependency on a private github repo i.e. during the deps.get phase it clones it using git. The problem is that the ssh connection to ...
3
votes
1
answer
1k
views
SSH private key not found when using 1Password SSH Agent to authenticate to remote host or GitHub
I switched to keeping all my SSH private and public key pairs in 1Password, relying on 1Password SSH Agent to provide the key in time of authentication to SSH remote servers and/or GitHub with a ...
1
vote
1
answer
591
views
Unable to connect SSH repository: existing repository spec is different; use upsert flag to force update; difference in keys
We are trying to connect argocd with SSH RSA 256 key, but getting below error
Unable to connect SSH repository: existing repository spec is different; use upsert flag to force update; difference in ...
0
votes
1
answer
87
views
Multiple git account associated to folders and SSH Confiog
I'm working with multiple GitHub account (let's say userA and userB ...). My folder architecture is
Projects/
|- userA/
|- projectA1/
|- projectA2/
|- ... All the repository accessible ...
1
vote
0
answers
106
views
SSH Server Verification Failing - Is Exchange Hash in Correct Form?
I'm writing a simple ssh client in C using the OpenSSL library to handle the Diffie-Hellman operations (big numbers, hashing, computing the shared key, server verification, etc.) I'm running a ssh ...
0
votes
0
answers
663
views
Deployment key issue - error in libcrypto
Preface: I am a very new dev, so many things are still new to me, excuse for my limited knowledge!
I'm adding a small deployment for a site I'm working on, specifically to grab what I push to our ...
1
vote
0
answers
881
views
Troubleshooting SSH Connection Issues on WSL
I'm currently setting up OCaml on Windows Subsystem for Linux (WSL) and encountering issues with SSH authentication when trying to connect to GitLab. Despite multiple attempts to generate SSH keys (...
1
vote
1
answer
182
views
Add ssh key to Xcode cloud to access bitbucket private repositories
I have one project and in which I have multiple private cocoa pods. i hosted all pods in my private git repository.
I have local pod specs repository which have multiple pod specs for different pods. ...
1
vote
1
answer
94
views
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
I followed exactly the guide here: https://docs.gitlab.com/ee/user/ssh.html#add-an-ssh-key-to-your-gitlab-account to the letter. For some reason I still cannot ssh to the instance...
Here is the full ...
-1
votes
1
answer
113
views
Ansible-generated SSH keys works with Java 17 but not Java 8
I am generating SSH keys using an Ansible script that works fine with Java 17, However it's not working when using Java 8. The issue seems to be related to the encryption algorithm used in the ...
0
votes
1
answer
99
views
Multiple users successfully authenticated, but SSH keys not working on Windows 11
I'm trying to set multiple GitHub accounts for multiple projects I'm working on. It just won't work.
First of all, I'm on Windows 11.
I've created the keys, they're in C:/Users/User/.ssh/...
I ...
0
votes
0
answers
30
views
Is there a way to automate generating an SSH key for git clone every time I spin up a new remote server?
Currently, every time I spin up a new remote server, I create a new SSH key and register it with my GitHub account to clone private repositories.
I believe using an SSH key is mandatory for this, but ...
-1
votes
1
answer
172
views
Attach multiple SSH Keys to a user in a SFTP server
I want to create multiple unique SSH keys for multiple users for an AWS SFTP server.
In my module call, I'm creating users and SSH keys by passing a map of objects :
module "users" {
...
0
votes
0
answers
101
views
Can't sign in to github BUT gh works with ssh key, but 2fa recovery states no valid ssh keys for recovery?
I have different github account for different organizations. One which I use rather infrequently, I can't login into. The password reset email works fine but apparently I signed up for 2FA and lost ...
0
votes
2
answers
387
views
Jenkins Docker Container: Ansible fails to connect via SSH when run via Jenkins, connects fine if not ran via Jenkins. Failed ssh: muxserver_listen"
I'm running a Docker container of Jenkins with Ansible in the same image.
Ansible is updating another Docker container on the same Docker network.
Useing an ssh key file.
Tested using root user and ...
0
votes
0
answers
62
views
How can I debug an SSH connection in Eclipse RSE
I can connect to the remote server with a ssh key pair, but I cannot get the connection to work with RSE using these keys. RSE ignores the certificate and insists on a password.
I’m looking for output ...
0
votes
2
answers
8k
views
Unable to fix SSH Permission denied (publickey) error
I keep getting this error whenever I try to access a server via ssh using VSCode's Remote Explorer or command line terminal.
I already checked this question, but was unable to solve the issue.
I have:
...
0
votes
0
answers
459
views
How to Configure CI/CD Pipeline to Pull Changes Using SSH Key or Access Token Without Username and Password?
I am in the process of setting up a CI/CD pipeline and need some guidance on configuring my script to automatically pull changes from a target branch. I would like to achieve this without the need to ...
0
votes
0
answers
38
views
github permission denied for user. but ssh -T github.com works
I'm so confused. I try to do ssh push to a repo and I get:
error: Permission to somerepo.git denied to jenia. fatal: Could not read from remote repository
But when I do ssh -T github.com I get:
Hi ...
-1
votes
1
answer
122
views
MAC OS on AWS EC2- Need to use service account instead default ec2-user account and need it for hardening the OS
I have a requirement that MAC OS on AWS EC2, Need to use service account instead default ec2-user account while doing ssh like (ssh -i /path/to/your-key.pem ec2-user@your-instance-public-ip
), This is ...
0
votes
0
answers
61
views
Github: Can't clone with ssh
I am trying to clone a private repository in a vps (or droplet) with linux, I followed all the steps in the official docs and when I run the command ssh -T [email protected] I get the successful message: ...
1
vote
1
answer
1k
views
Libcrypto error in Docker container in Azure DevOps pipeline
I have a Azure DevOps pipeline that I use for Terragrunt CI. The source Terraform modules that I am using in my repo are stored in a second repo, and so in order to run terragrunt plan you need to ...
0
votes
1
answer
28
views
Is there a different way to set-up multiple git profiles for bitbucket?
I currently have my config file for ssh set up as follows:
Host bitbucket.org-account1
HostName bitbucket.org
User git
IdentityFile ~/.ssh/id_rsa_account1
IdentitiesOnly yes
Host github.com-...
0
votes
1
answer
111
views
Jenkins EC2 agent - Host key verification failed
I'm using Jenkins EC2 Plugin to spawn agents on demand. During my job I have to clone other repository, so I'm using sshagent. However I was getting Host key verification failed error, so I've added: ...
0
votes
0
answers
79
views
git pull on webserver from github via SSH
I created a website locally and pushed the files via ssh to github. For that I generated an ssh-key and had now issues. No I am trying to pull those files on my webserver (connection via ssh). But I ...
0
votes
0
answers
1k
views
Cannot ssh into the container when created using podman with proper ssh-keys as well
I am trying to create a ubuntu container using podman and able to bring up the container successfully. However when I try to ssh into the container using ssh-keys it is not working. Here is my ...
0
votes
1
answer
372
views
How can I get ssh agent (or similar) to work for a git signing key?
My setup works perfectly fine for the authentication ssh key:
Host github.com ...
1
vote
1
answer
527
views
EC2 Instance with persistent SSH Host Keys using Terraform
I am creating an ec2 instance for usage as a bastion host, using terraform. The instance is reached via an elastic ip. I deploy ssh-keys to the bastion host using a shell script inside the user_data ...
0
votes
1
answer
1k
views
Do I have to create a new ssh key pair every time I try access my repositories from different servers?
I created an SSH key pair and added it to my GitHub repository 1-2 months ago. Now I want to connect from a new server. I want to clone the repository I have on my GitHub to this new server, but it ...
1
vote
0
answers
179
views
I'm having trouble connecting to the Colab server via SSH
Attemptiing to set up an SSH tunnel to a Google Colab instance using Ngrok. However, it encounters a ConnectionRefusedError, indicating that Ngrok is unable to establish a connection. This could stem ...
0
votes
1
answer
528
views
Not able to use GIT through SSH
I've created a new SSH key on ~/.ssh/id_rsa and I added the public key (~/.ssh/id_rsa.pub) on my Azure account but when I try to perform any action on git it returns the following error message:
...
0
votes
1
answer
229
views
Unable to use browser for EC2 AWS login with inbound rule including my own IPv4
all. I am new to AWS and have limited tech support knowledge, so please bear with me. I recently created an AWS account for personal (not business) related reasons. I am using EC2, and Linux for ...
0
votes
0
answers
294
views
Unable to push from RStudio to GitHub - URL error 403
Hi I am new to RStudio and GitHub. I am trying to push a file from RStudio into my GitHub Repository called Testing2. It's a practical exercise that's part of the course I am doing. However, I am not ...
2
votes
0
answers
190
views
Generate a PuTTY-compatible private key with a passphrase
I want to generate a private key that is encrypted with a passphrase and can be used by PuTTYgen. My solution only needs to work on .NET 8. While a PPK in proprietary PuTTY format would be nice, I'm ...
1
vote
1
answer
1k
views
ssh-ed25519 string to public key in java
I'm pretty much novice in cryptography and has an issue with loading a ed25519 public key string into java.security.PublicKey. It works when I try a key using openssl, but not when I load a key which ...
0
votes
1
answer
365
views
How to resolve BadHostKeyException with paramiko? [duplicate]
I have following code to connect to a linux box and run a command, But I'm facing
BadHostKeyException even after I have added WarningPolicy and AutoAddPolicy.
print("---CCCCCCCCCCCCC--...
0
votes
0
answers
260
views
cmake git clone via ssh fails on windows with Host key verification failed
i have a C program which is build using cmake unter linux and macOS fine. I tried to cross-compile it under windows with cmake -G "Unix Makefiles" .. but I ran into a strange error.
Within ...