Questions tagged [ssh-agent]

144 questions
4
votes
1 answer

What is the maximum number of private keys you can use via SSH Agent (Pageant)

While answering Re-using SSH keys I had a question of my own, is there a limit to the number of ssh keys you can hold in ssh agents? (and/or putty pageant). (as a test, I loaded 10 keys into my pageant and didn't seem to have an issue)
Jacob Evans
  • 7,886
  • 3
  • 29
  • 57
4
votes
1 answer

How to forward SSH agent connection to unqualified hostnames by default?

I have a number of local domains in my resolv.conf search order. I would very much like to forward SSH agent by default when I connect to an unqualified (without DNS suffix) hostname. The best I've been able to come up with is something like the…
Nathan Neulinger
  • 607
  • 1
  • 6
  • 17
4
votes
2 answers

SSH authentication between my VPS and Bitbucket fail

I'm trying to setup SSH authentication between my VPS and Bitbucket for configure later automatic deployment via Capistrano (for web projects) and Capifony (for Symfony2 projects) so I follow this steps: Login in my VPS as root and execude the…
ReynierPM
  • 710
  • 5
  • 14
  • 30
4
votes
2 answers

ssh-agent needs to start each time on my server

I have used this bitbucket tutorial for providing ssh access to the git repo: https://confluence.atlassian.com/pages/viewpage.action?pageId=270827678 But now each time I want to use the git it says I have no permissions until I do: ssh-agent…
Tzook Bar Noy
  • 155
  • 1
  • 5
4
votes
2 answers

SSH key and ip address

A co-worker keeps mentioning SSH keys being associates with an IP address but Im not sure what it exactly means. So i tried generating a SSH key and it had my host name at the end of the file. This discussion can up when we were talking about…
broun
  • 187
  • 2
  • 2
  • 8
4
votes
2 answers

SSH: prevent from asking for passphrase when ssh-agent auth fails

I am writing a script to cycle through a list a known hostnames so as to find a working SSH server on which I can auth with my SSH key. The key is already loaded with ssh-agent and ssh-add, so if I connect to a working remote host that knows my key,…
zopieux
  • 143
  • 3
4
votes
3 answers

Forgot the password for an encrypted SSH key that's in my (gnome) SSH agent. How do I extract unencrypted version?

OK, I have an encrypted ssh private key that provides access to a server. My Ubuntu GNOME desktop has an integrated graphical ssh agent (seahorse v3.2.2). That ssh key is in this ssh agent and it's automatically unlocked when I log into my desktop.…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
4
votes
2 answers

ssh-add under cygwin

I'm having trouble with ssh-agent under cygwin. The crazy part is that it was working, but stopped after a reboot one day. Here is an example: sthomas@sthomas-tcg ~ $ keychain ~/.ssh/id_rsa KeyChain 2.6.8;…
samspot
  • 327
  • 1
  • 3
  • 7
4
votes
1 answer

ssh agent authorization in a detached screen session

I have an ssh script which use ssh key forwarding on a remote system to do thing in even more remote systems. I have to run the script in a screen session so that I can detach from it. But the authorization that was granted to the remote system by…
geoaxis
  • 491
  • 1
  • 6
  • 18
4
votes
1 answer

Why does ssh-agent have SGID set?

In the openssh Red Hat package, I noticed that the ssh-agent executable has the SGID permission set: $ ls -l /usr/bin/ssh-agent -rwxr-sr-x 1 root nobody 113648 Nov 24 2010 /usr/bin/ssh-agent Why would the openssh developers want ssh-agent to run…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
4
votes
1 answer

Can socat be used to forward an ssh-agent socket into a chroot?

I'm building custom Debian environments on a remote server, which I connect to over SSH. This involves building a debootstrap environment, then chrooting into it to run a custom installer. As part of the custom install process, I need the installer…
regularfry
  • 215
  • 2
  • 11
3
votes
1 answer

SSH ignores key in agent and keeps asking for key decryption password

In my ssh_config, I have configured SSH to use a specific key when connecting to a host. I want SSH to try only this key, not any other key it may find (in ssh agent or some other location), so I specified IdentitiesOnly, too. Host *.foobar.com …
Jan Warchoł
  • 253
  • 2
  • 9
3
votes
2 answers

SSH agent forwarding fails depending on intermediaries

I am getting a permission denied when trying to connect over SSH with agent forwarding. I have four machines: my local box (me), a private server (private), a public gateway that can route to the private server (gateway), and a public server…
rich remer
  • 489
  • 4
  • 11
3
votes
2 answers

SSH by key incredibly slow

SSH connecting with key, from my machine suddenly got incredibly slow (~10sec!). It is not a server or DNS problem as far as I can figure out. The problem suddenly appeared after a simple apt-get install kubuntu-desktop and some minor KDE related…
NeuronQ
  • 131
  • 1
  • 5
3
votes
2 answers

ssh-add Has No Effect

I'm trying to add password-less ssh access to my Mac OS X 10.8.3 that acts as a server. I've followed instructions like this: http://osxdaily.com/2012/05/25/how-to-set-up-a-password-less-ssh-login/ But when I do ssh user@myserver.com I still get…
maz
  • 131
  • 1
  • 5
1 2
3
9 10