Questions tagged [ssh-keys]

SSH Keys are pairs of sequences of randomly generated bytes that provide the basis of SSH public key cryptography and challenge-response authentication. The sequences are typically stored in files and one of them is referred to as the Public key while the other is the Private key.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

RSA Public Key, Can't find command [closed]

I'm trying to connect my SSH key to google cloud and I'm getting an error that it can't find the command. I verified that I'm in the correct directory. Any help is greatly appreciated, Thank you! Your ...
sundaynightlive's user avatar
0 votes
1 answer
42 views

Why is 'git push' and 1Password not working?

I created a repository on GitHub.com, and cloned it locally with no issues. Then, I added folders and files to the repository and added all contents to the local repo with no issues. Finally, I ...
JaviQQ's user avatar
  • 11
1 vote
0 answers
101 views

Can't clone a gitlab repo with SSH

I've generated public/private key pair with ssh-keygen : ssh-keygen -t ed25519 -C "[email protected]" I've added the contents of the public key with .pub extension in the "deploy keys&...
Sybuser's user avatar
  • 805
0 votes
1 answer
62 views

Power Automate SFTP error: Badgateway - Permission denied (publickey)

I have a Power Automate workflow which was working successfully until today. I attempted to rename the connector, which automatically wiped all of the information. I re-entered all of the information, ...
Andrew Draper's user avatar
0 votes
0 answers
44 views

SSH-key with passphrase , ansible git pull

I have problem. ssh-key passphrase permission denied (using ansible) I use ssh-agent  eval ssh-agent -s ssh-add /root/.ssh/new_rsa enter passphrase How debug this? I need git pull via ansible , using ...
emdnk's user avatar
  • 1
-1 votes
1 answer
43 views

Attempting To Create an SSH Key for Remote Git Work

Im working from a mac and trying to create an ssh key for my git but every time I type pb copy < ~/ssh to copy the file, i get this message: *** Terminating app due to uncaught exception '...
Aliceonacid's user avatar
0 votes
0 answers
14 views

Can't push directly from Pycharm but can from console (Different author names in pushed commits)

I'm facing this strange behavior since my ssh key expired and had to use a new one. I have many projects that I update using git and gitlab as repository, and normally I did that using Pycharm ...
sigma5563's user avatar
0 votes
0 answers
92 views

Microsoft Visual Studio Community 2022 (not code) - problem with ssh connection using private key

I'm trying to connect to my remote Linux machine using an SSH-RSA private key following this tutorial: Connect to your target Linux system in Visual Studio. Facts: I can successfully connect to the ...
YoctoDragon's user avatar
-1 votes
0 answers
26 views

How to run SSH client from a specific port?

I tried: ssh -D 17.10.10.100:50000 [email protected] But in netstat -anWtp, I see that it has merely opened a listener to 50000 but is running from a different arbitrary port 58148: Active Internet ...
tash's user avatar
  • 741
1 vote
0 answers
57 views

Permission Denied (publickey) Error in Visual Studio Code for a GitHub Repo Despite Proper SSH Setup

I'm facing an issue when trying to push or pull from a GitHub repository using Visual Studio Code (VSCode). Here are the details of the problem: I am a collaborator on a GitHub repository, and I have ...
Adam Röhr's user avatar
-2 votes
1 answer
60 views

Generating SSH key

I'm unable to create a .ssh directory or locate it while generating an SSH key ` >Git Bash >ssh-keygen -t rsa -b 4096 -C "[email protected]" []Generating public/private rsa key pair []...
Mouse's user avatar
  • 31
1 vote
0 answers
39 views

Airflow - Compute Engine SSH Hook creates a new pair of keys everytime it connects to VM

We have Airflow 2.5.3 running on GCP Cloud Composer (2.4.6). Around 200 tasks need to be daily executed on a VM located on the same project and VPC. Thus, we need to use an SSHOperator to execute the ...
WillDCC's user avatar
  • 21
0 votes
0 answers
52 views

fatal: Could not read from remote repository. Git push error [duplicate]

In the past I could use git bash and git desktop applications. I have decided to use after some time gitbash to improve my skills and trying to push changes on my local to the server. I have realized ...
Çağatay Şen's user avatar
0 votes
0 answers
32 views

Jenkins node still asks for password after configuring ssh keys

has anyone ever come across this issue? So, I have a remote linux server I want to log into from a jenkins node (which is also a linux server). To do that, I did the following steps: I generated a ...
Jade Aung's user avatar
0 votes
0 answers
36 views

Github Actions SSH issue

I am using GitHub Actions, and trying to build and deploy my project using a self hosted runner. I have added the required SS_KEY in my Github repository secret and other secrets as well such as ...
DevGo's user avatar
  • 1,070
0 votes
1 answer
39 views

I deploy 2 envs (test and prod), with 2 Github actions, same SECRETS, same user / ..ssh dir. I got unable to authenticate on prod only

I deploy my Symfony web app with Github Actions on a VPS under Plesk. I have 2 environments, with the following dirs : /~ /httpdocs (production env) /test (test env) /.ssh rw-r--r-- ...
Geo Daz's user avatar
  • 176
0 votes
0 answers
22 views

EC2 Instance keypair no longer working after SSH Key created for Github

I created a keypair with the EC2 instance which I have been using to connect and transfer files successfully. Recently, I needed to generate an SSH Key on the instance for Github permissions and now, ...
Jenifer Crenshaw's user avatar
0 votes
1 answer
65 views

"Incorrect" Password Loading Encrypted OpenSSH Key

I am trying to set up an application to use a Chilkat.SshKey to read my ECDSA 521-bit OpenSSH key for authentication to a new SSH server. I've read documentation and examples from the developers but I ...
G_Hosa_Phat's user avatar
  • 1,026
0 votes
0 answers
37 views

Can't ssh through command prompt after using ssh in visual studio code

When I ssh using the window's command prompt, it worked and in the .ssh folder it created a "known_host" file. I then used VScode ssh extension to remote control, and it created a "...
bellz's user avatar
  • 1
-1 votes
1 answer
86 views

ssh keys issue & how to mounts as readonly in devcontainer.json? [closed]

i have windows as the host, working with devcontainer without wsl, created ssh key with custom name, let say id_github. and managed to set ssh-agent auto run, and can use git fetch with ssh key with ...
Asule's user avatar
  • 11
0 votes
0 answers
17 views

Jenkins - worker node agent launch ssh error

Recently, have migrated jenkins worker node from one ec2 instance to other using amibackup/restore. But when I tried to launch agent from jenkins master faced the below error. But working fine with ...
Kavitha's user avatar
  • 11
0 votes
0 answers
18 views

Bad config line for ssh key while performing git operations (like clone)

I'm unable to perform git operations like git clone or even git status. I'm able to connect using ssh to github so the issue seems git specific? I was unable to find much logs to try to pin point the ...
Aditya Guru's user avatar
0 votes
1 answer
30 views

how to fix not able to clone a repository by ssh in gitlab

I want to clone a repository by SSH after specifying Ssh-key to the user but there is no action when I clone the repository. namely, I run the below command but the request for username and password ...
vahidpirian's user avatar
0 votes
1 answer
75 views

How does ssh key works when encrypted with ansible vault? How does ansible.builtin.meta: reset_connection task affects the ssh connection

I am using ansible to perform some tasks on remote virtual machine. In my inventory file I have provided the ssh file as all: hosts: vm: ansible_host: host_ip ansible_user: ...
richa verma's user avatar
-2 votes
1 answer
53 views

Creating public and private keys for SSH [closed]

Used Putty.gen to create Putty private and public keys. On client system \karpov in \Users\xyz.ssh I have "id_rsa", "id_rsa.ppk", "id_rsa.pub", "known_hosts". &...
Harmonia2's user avatar
0 votes
1 answer
55 views

Read private key from string using Paramiko

key_blob is not a string, not a StringIO(key_str), ... I figured it work when i pass msg = paramiko.message.Message() as a key_blob why does it want a msg there, any idea how to do this properly? ...
Jirafey's user avatar
  • 69
-3 votes
1 answer
37 views

digital certificate vs rsa key

I am going through a document about "password vs digital certificate". I read that unlike the password, a certificate can not be stolen due to public private key use. However, does it mean ...
myquest9 sh's user avatar
-1 votes
1 answer
56 views

Unable to set up SSH key for github repo

I have created following ssh key in ubuntu at path /home/ubuntu/.ssh where ubuntu is my user name: I added this key to my ubuntu user login on github: However when I try to clone, it gives me ...
MsA's user avatar
  • 2,663
0 votes
1 answer
65 views

Unsupported key format when parsing private key in node

I'm trying to connect to a remote sftp server using ssh2-sftp-client package with a private key instead of a password. I have previously used a sftp client, loaded that file and connected successfully....
shAkur's user avatar
  • 952
0 votes
0 answers
39 views

The authenticity of host 'github.com (192.30.255.112)' can't be established in Gitbash using Windows 10

I have created SSH key twice and deleted the previous one and currently using the latest and attached it on Github. Further using GitBash ,I'm Trying to push my changes on github but I'm getting this ...
Shree's user avatar
  • 91
0 votes
0 answers
57 views

How to Add an SSH key with a passphrase as part of an ansible playbook

I am putting together a server using ansible. As part of that I need to clone some private repo's from GitHub to the server. My access to GitHub is via an ssh key that is passphrase protected. I ...
MB.'s user avatar
  • 723
1 vote
1 answer
124 views

How to pass local private key to ssh command on intermediate jump server?

I have an intermediate server between my local and my target server. With password authentication I can ssh to the target like this: ssh me@intermediate-server ssh me@target-server But now both ...
beatrice's user avatar
  • 3,847
-1 votes
1 answer
650 views

Failed to generate SSH key

I am trying to generate an SSH key for my GitHub account but it's not working. I am running the following commands in my terminal and both fail: ssh-keygen -t ed25519-sk -C "my email" ssh-...
Jivkoslav's user avatar
-2 votes
1 answer
70 views

I need to add an SSH key to run inside my DDEV Docker container

I have just pulled a repo from BitBucket and attempted to run 'composer install' from inside my docker terminal. The composer.json file has additional respository dependancies which need to be pulled ...
DieselHashtag's user avatar
0 votes
0 answers
30 views

Docker commit omits user-specific ssh-keys

I have configured a docker image based on Ubuntu, along with user X. As soon as i docker commit the configured image & run a new container based on that, i notice that user X ssh-keys are not ...
aprin's user avatar
  • 123
0 votes
1 answer
60 views

How can I get ssh keys from servers using ansible?

I want to get all ssh public keys from servers using loop_control.loop_var. Playbook will alternately go to the home folder of all users and get the keys I started using this construct, but then I don'...
Gg59's user avatar
  • 1
0 votes
0 answers
15 views

R and Github SSHKeys

Im having trouble getting the SSH Key to work. I enter the information for the key, copied and pasted directly from R Studio, and when i submit it it goes to the original screen and says no SSH key ...
lopezg-raul369's user avatar
0 votes
1 answer
176 views

Permission Denied When Cloning Private GitHub Repository Using Forwarded SSH Key from Window 10

I'm facing an issue with SSH agent forwarding from my Windows 10 machine to a remote Ubuntu 20.04 server. I followed the steps to enable and load my SSH key into the ssh-agent on Windows: # By default ...
Jacuzzi's user avatar
0 votes
1 answer
53 views

How to use my own key to deploy via CapRover?

I'm setting up an automated deployment using CapRover, but it seems not working due to my SSH key. How could I generate a key accepted by CapRover and Github?
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
33 views

git push error Permission denied (publickey,password)

after create ssh keygen using ssh-keygen -b 4096 -t rsa and copy my ssh key in profile setting github, i try to push. but there is display To push the current branch and set the remote as upstream, ...
chiper4's user avatar
  • 303
-1 votes
1 answer
589 views

No password hashes loaded in JohnTheRipper

I'm trying to crach ssh password with john, but there's an error, and I can't find the answer to solve it firstly I use ssh2john.py: python3 ssh2john.py id_rsa > id_rsa.hash then john: john --...
askarr's user avatar
  • 11
1 vote
0 answers
19 views

Twisted Conch SSHCommandClientEndpoint issues with ssh keys

I'm trying to open a basic ssh connection using conch and I'm using SSHCommandClientEndpoint to do so. And the connection works if I pass it a password, but I want to do it using ssh keys. However, ...
Brandon Barnacle's user avatar
0 votes
0 answers
21 views

what will be the correct code to ssh into another region?

Is there any corrections I need to make to this terraform code for my security group rule to recognize my security group? # security group public resource "aws_security_group" "...
silver's user avatar
  • 1
0 votes
0 answers
40 views

How to use SSH authentication on git [duplicate]

I am trying to git push and its bringing out this error: remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-...
OwoJama's user avatar
0 votes
0 answers
56 views

Pull bitbucket repository in a Dockerfile

for some reasons I have a python project with specific requirements that pull private repositories from bitbucket requirements.txt git+ssh://[email protected]/mycompany/myproject.git I can install ...
tbarbot's user avatar
  • 225
0 votes
1 answer
25 views

ssh-copy-id tool can't handle public identity_file when it has multiple dots in a filename

When using -i option and providing file like admin_rsa.pem.pub utility is trying to open admin_rsa.pem file. Is it expected behavior?
Lem's user avatar
  • 153
0 votes
0 answers
77 views

Checking for existing SSH keys using Git Bash

I would like to use a SSH key for creating a GitHub repository. For further information I followed this guide: Checking for existing ssh keys After using the command ls -al ~/.ssh I get following ...
user2379123's user avatar
0 votes
1 answer
149 views

SSH with gitlab and docker executor

I am trying to deploy with GitLab pipeline java app on my localvm the runner uses docker and I am getting this error [email protected]: Permission denied (publickey,password). Cleaning up ...
Mohamed Amine Chouchene's user avatar
0 votes
1 answer
989 views

SSH authentication breaks overnight

I'm running a VM instance with node installed and only 3 .js files and the config and package .json files, and for some reason SSH authentication stops working the next day even when working ...
Dinocanid America's user avatar
-1 votes
1 answer
889 views

ERROR: Write access to repository not granted. fatal: Could not read from remote repository

I've been encountering a recurring error while attempting to push changes to a remote repository that requires having an SSH key. I'm getting this error: ERROR: Write access to the repository not ...
Mustafa Yusuf's user avatar

1
2 3 4 5
39