Questions tagged [ssh-agent]
144 questions
0
votes
2 answers
Ssh-agent won't run on Ubuntu Oneiric
I have installed Ubuntu 11.10. I'm being confused by the ssh-agent behavior: when I enter the command I get the following output:
SSH_AUTH_SOCK=/tmp/ssh-qKBOsDj10698/agent.10698; export SSH_AUTH_SOCK;
SSH_AGENT_PID=10699; export SSH_AGENT_PID;
echo…

Berislav Lopac
- 101
- 3
0
votes
3 answers
ssh-agent forwarding Ubuntu 10.04.03 LTS
What started as an annoying issue a few weeks back, is now driving me
mad!
At home, I have a Ubuntu 10.04.03 box which acts as a fileserver. I
backup things on it via rsync from other boxes, outside the network.
When I connect to this fileserver,…

gerhard
- 73
- 2
- 9
0
votes
2 answers
password-less login using ssh agent
I can copy the rsa key to the remote server for passwordless log-in.
But I was told that there is another way to add this functionality using ssh-agent.
I have run the commands generated by ssh-agent command. I did tried to add the key using…

shantanuo
- 3,579
- 8
- 49
- 66
0
votes
3 answers
passwordless ssh not working
I've tried to setup a password-less ssh b/w A to B and B to A as well.
Generated the public and private key using ssh-keygen -trsa on both the machines.
Used the ssh-copy-id utility to copy the public-keys from A to B as well as B to A.
The…

Cuurious
- 3
- 1
- 4
0
votes
2 answers
Strange ssh key issue
Scenario 1. I am doing this from /home/deploy directory
I am trying to set up ssh with github for capistrano deployment. this has been an absolute nightmare.
when I do ssh git@github.com as the deploy account I get
Permission denied (publickey).
so…

user55714
- 11
- 3
0
votes
1 answer
Problem with Hudson + Git + Gitosis on windows
I have Hudson configured to connect to a Gitosis managed repository.
I am using the Git plugin.
To manually clone a repo, I need to enter my ssh pass phrase. How can I make
Hudson aware of my passphrase? There is a version of ssh-agent that comes…

Jacko
- 163
- 6
0
votes
1 answer
What is the host key (the one from ssh connection) and how is it different from public-private key pair?
The situation is that I've had a VPS created previously. It was all set up, private-public key authentication, root login turned off, password login turned off. Everything was set up.
Then this server gets destroyed and a new server gets…

michal roesler
- 145
- 1
- 6
0
votes
0 answers
jenkins ssh agent set variable with
Iam using this command to set variable
ssh -o StrictHostKeyChecking=no -l ec2-user 1.1.1.1 export GRAFANA=$(kubectl get svc grafana -n grafana -o jsonpath='{.status.loadBalancer.ingress[*].hostname}')
showing output this
++ kubectl get svc grafana…

Rahul
- 1
0
votes
0 answers
Can't ssh into cloud shell
I try to ssh from my local host to GCP cloud shell and get the error:
$ gcloud cloud-shell ssh --authorize-session
sign_and_send_pubkey: signing failed for RSA "/home/kossak/.ssh/google_compute_engine" from agent: agent refused…

Kossak
- 101
- 3
0
votes
1 answer
Cannot add passwordless private key with ssh-add on remote server
I can add a passwordless id_ed25519 file locally using ssh-add -k, but not on my remote server.
Locally:
☁ ~ ssh-add -l
The agent has no identities.
☁ ~ ssh-add -k ~/.ssh/id_ed25519
Identity added: ~/.ssh/id_ed25519 (app@myproduct.com)
☁ ~ …

iftheshoefritz
- 103
- 7
0
votes
1 answer
openssh connection from windows with yubikey ED25519-SK denied
I use my yubikey to authenticate against remote hosts with ssh. This works (with the same keys) on Linux, and it fails on Windows, with git-bash.
all this is on windows 10, and this is OpenSSH_9.0p1, OpenSSL 1.1.1p 21 Jun 2022
This is the error…

Andreas Schuldei
- 143
- 7
0
votes
0 answers
Is there a way to repair SSH On GCP VM after shielded VM failure
I have a GCP VM on which is installed a Docker with Drupal.
e2-medium with SSD 10Go
After increasing the disk size to 20GB, I can no longer access the VM in SSH.
My VM was failing to boot because of a boot integrity check. so I use this to solve un…

Kiswend
- 1
- 1
0
votes
1 answer
How to forward the .config file to remote host together with the agent?
I have a GitLab server configured on a non-standard port. I am using ssh protocol to clone and push, and I have configured the correct port entry in the .config file of ssh.
Now, I need to connect to the GitLab server from a remote pc. I want to use…
0
votes
1 answer
ssh TOTP connection with jump host forwarding
How can I simplify this?
Perhaps using agent forwarding?
I have an SSH jump host with 2FA via TOTP x2 and a machine which uses 2FA as well(jump host and machine):
ssh myuser@host.corp.com -L 22222:my_machine.corp.com:22
# requires password + 2FA…

Georg Heiler
- 103
- 3
0
votes
1 answer
DigitalOcean Droplet ssh to use a named key
It's been a while since I've done this and configured ssh keys.
I generated an ssh key with a different file name than id_rsa
I have a DigitalOcean Droplet where I placed a named ssh key pair on creation.
Then I created a ~/.ssh/config on my local…

Kyle Calica-St
- 103
- 1
- 6