Questions tagged [ssh-agent]

88 questions
38
votes
5 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
  • 393
  • 1
  • 3
  • 8
30
votes
4 answers

ssh-add command does not add my identity to ssh-agent

I just installed ubuntu 13.10 and I was about to add my identity to my ssh-agent so I open up a Terminal and did this bjorgvin@buntu:~$ ssh-add -l The agent has no identities. bjorgvin@buntu:~$ ssh-add bjorgvin@buntu:~$ ssh-add -l The agent has no…
bjorgvin
  • 303
  • 1
  • 3
  • 4
22
votes
2 answers

How to use multiple ssh keys with different accounts and hosts

i have multiple ssh keys and i have also have account on bitbucket and github. how when ever i use pull it gives me error :/var/www/proj$ git pull origin master conq: repository access denied. fatal: The remote end hung up unexpectedly or if i ssh…
Iori
  • 1,067
  • 4
  • 11
  • 21
14
votes
3 answers

What could be the reason, that private keys are not unlocked?

Since I updated to Ubuntu 17.10 a while ago, my private keys – the which I use for example to access my server via ssh – are not unlocked programmatically after login anymore. My understanding is, that usually the seahorse client should take care…
user5950
  • 6,056
  • 11
  • 59
  • 83
14
votes
1 answer

What are the differences between keychain and ssh-ident

I'm considering using a tool to setup my ssh-agent environment so I only need to enter my ssh key once. What is the difference between ssh-ident and keychain? Does one have advantages over the other?
Tom Hale
  • 3,358
  • 5
  • 16
  • 33
13
votes
3 answers

How to avoid typing ssh-add everytime

I read and followed some online documentation on how to set up a ssh-agent so that I don't need to type in password every time I ssh to a remote machine. However, with the help of ssh-agent, I still need to do ssh-add every time I restart the shell.…
ssgao
  • 313
  • 2
  • 4
  • 13
12
votes
3 answers

Why won't ssh-agent save my unencrypted key for later use?

Every time I SSH into another server from our headless Ubuntu server I am asked for the password to my key file. Even if I have previously connected to the server. Do you have any idea why this maybe? It could be something as simple as ssh-agent not…
Treffynnon
  • 507
  • 1
  • 5
  • 14
10
votes
4 answers

Doing an ssh-add upon ssh/slogin if key is not in ssh-agent?

When I'm running Gnome, ssh-agent will run ssh-add upon slogin/ssh if the identity is not loaded. I want to mimic this behavior on remote shells, but everything I find suggests to run ssh-add upon login. I only want to run ssh-add if I…
Pete Ashdown
  • 2,948
  • 1
  • 16
  • 15
9
votes
2 answers

Why isn't my keyring in Ubuntu working?

I have encrypted my id_rsa with a password. I think Ubuntu has a keyring system which prevents me from inputting password every time I have to use id_rsa, like git push. Sometimes I don't need to type in the password, sometimes I do. When I…
dspjm
  • 280
  • 1
  • 3
  • 8
9
votes
5 answers

xubuntu: stop gnome-keyring-daemon from impersonating ssh-agent

I want to use the real ssh-agent instead of gnome-keyring in xubuntu. I followed the steps from http://dtek.net/blog/how-stop-gnome-keyring-clobbering-opensshs-ssh-agent-ubuntu-1204, but gnome keyring still registers itself as ssh-agent. I still…
JanKanis
  • 643
  • 9
  • 13
7
votes
1 answer

Why do ssh operations always ask for passphrase? (with ed25519)

I just updated my ssh key and added a passphrase, however it constantly nags me for it now, such as when I do a git (or mercurial hg) push. ssh-agent is running: xxx 1303 1118 0 09:16 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch…
Gringo Suave
  • 708
  • 6
  • 18
7
votes
4 answers

Why can't I interact with my ssh-agent? (e.g. ssh-add -D doesn't work)

On my Kubuntu 14.04 system I'm trying to manage keys with my SSH agent, but somehow it appears to ignore my ssh-add commands. Look at this below and you'll see what I mean. List the current keys ⟫ ssh-add -l 2048…
gertvdijk
  • 67,007
  • 33
  • 188
  • 283
7
votes
1 answer

SSH pubkey authentication works only if another session is already open

Permissions are set correctly on the server (chibi). If I do not have an existing ssh session open to the server, then all new sessions require a password. However if there's already one open, additional ssh sessions authenticate with pubkey…
wting
  • 384
  • 1
  • 3
  • 14
7
votes
3 answers

Using PKCS#8 encrypted private keys w/ ssh-agent

I'm setting up a new Ubuntu system (12.04.2 LTS) for Rails development and wanted to use an encrypted SSH private key as per this article. I can set up a standard ssh keypair using the instructions on GitHub and everything works fine, but when I…
orenyk
  • 223
  • 2
  • 9
7
votes
4 answers

byobu and ssh-agent

byobu cannot connect to ssh-agent socket well. actually I can make just one connection via ssh-agent but if I try to establish another ssh connection using the agent, it doesn't work. I've tried setenv SSH_AUTH_SOCK `echo $SSH_AUTH_SOCK` in…
ubik
  • 71
  • 1
  • 2
1
2 3 4 5 6