Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh-agent]

The tag has no usage guidance.

0
votes
0answers
35 views

“Signing failed: agent refused operation” with gnome-keyring-daemon on WSL

I'm trying to ssh-agent on Windows Subsystem for Linux (Ubuntu 18.04) so that I don't have to type in the passphrase for the private key, not even once per session. I followed this answer and set up ...
0
votes
2answers
64 views

Permission denied to access public ssh key

I can't add my ssh public key to the ssh-agent and my ssh folder is odd I believe.here is a screenshot
2
votes
1answer
486 views

ssh-add -l Error connecting to agent: Connection refused

I'm using Ubuntu 18 on Windows Bash When i launch Ubuntu I can ssh-add without any problem. Then I connect to a remote server ssh user@address The ForwardAgent doesn't work (git pull, for example ...
1
vote
0answers
18 views

SSH Key Requires A Password Through SSH But Not Through Client [duplicate]

The issue that is occurring is the following; I was given an ssh key (specifically a .ppk file for an AWS server). When I try to use the key through shell, I get prompted for a password; i.e. ssh -i ~...
0
votes
0answers
21 views

How do I use GPG 2.1 for SSH authentication

This might seem like a duplicate question, but I have not been able to find a working resource for how to use GPG 2.1 for SSH authentication. Hence, I'm asking this question. I followed the steps ...
2
votes
1answer
562 views

WSL Ubuntu 18.04 Install SSH key forwarding Issue

I recently updated my WSL Ubuntu install to the 18.04 version available through the Microsoft Store. After the install I ran into issued with the SSH client and the ability to forward keys. So the ...
1
vote
0answers
109 views

ssh-agent does not autostart from .bashrc after update to 18.04

I have Ubuntu with XFCE for several years. When it was 16.04 I configured the autostart of ssh-agent in my .bashrc as follows: # Set up ssh-agent SSH_ENV="$HOME/.ssh/environment" function ...
5
votes
0answers
1k views

How to use normal ssh-agent on 18.04?

I am using an 18.04 installation that has been upgraded from 17.10. When it was on 17.10, I pulled the GNOME SSH/GPG agent out, in favour of using the standard, command-line SSH agent. I wrote up the ...
2
votes
1answer
378 views

ssh-agent won't start (even with eval ` `)

I'm pulling my hair out on an ssh-agent issue.. I run a VPS under Ubuntu 16.04 and I setup a private/public key to be able to pull code from my Bitbucket repo. I initialized the repo, it all seemed ...
0
votes
2answers
954 views

how to use ssh agent forwarding

I have three systems , a client that only install ssh client and server_1 and server_2 . im using ssh public authentication and i can ssh from client to both server_1 and server_2. i saved same pub ...
1
vote
1answer
295 views

What did Ubuntu 17.04 (Zesty Zapus) do to my ssh-agent?

I just upgraded my Ubuntu 16.10 install to Ubuntu 17.04 and have found that I no longer have a working ssh-agent: $ ssh-add my_rsa_key Error connecting to agent: No such file or directory $ Upon ...
12
votes
3answers
932 views

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, ...
1
vote
0answers
3k views

How to fix “ssh-agent refused operation” on Ubuntu 17.10?

I installed Ubuntu 17.10 on a machine and created an ssh key. However I am not able to use the gnome keyring to unlock this ssh key, I always get the following error message when trying to connect via ...
3
votes
0answers
294 views

ssh-add fails when using ed25519 keys [duplicate]

I've been upgrading my ssh keys on all my machines, and came across a bit of weirdness with ssh-add. If I create an ed25519 key and then try to ssh-add it fails. If I take the original rsa key, and ...
1
vote
0answers
92 views

Ubuntu 14.04 (linaro) seahorse (gnome keyring) fails to store unlock passphrase of ssh key

I have a hard time telling seahorse 3.10.2 to store the unlock passphrase for my ssh key. With Ubuntu 10.04 one had to invoke the following command: /usr/lib/seahorse/seahorse-ssh-askpass id_rsa ...
1
vote
0answers
300 views

scp not working when my ssh is working perfectly

I am having issues in scp a file to another user: scp filename USERNAME@192.168.0.1:~/path/to/directory I only get the below line, but scp doesn't happen: SSH_AUTH_SOCK=/tmp/ssh-KjEHW3vNQqjE/agent....
2
votes
1answer
959 views

Use gnome-keyring as ssh agent instead of openssh

I want to use gnome-keyring in KDE to provide access to ssh passphrases. It is unlocked properly on login and the ssh agent socket is there. My problem is that the openSSH ssh-agent shadows this. ...
8
votes
1answer
2k views

keychain vs ssh-ident [closed]

I'm considering using a tool to setup my ssh-agent environment so I only need to enter my ssh key once. What are the advantages and disadvantages of ssh-ident compared to keychain?
3
votes
1answer
495 views

Switch to openssh-agent

My problem is to get ssh-agent instead of gnome-keyring up and running on a fresh installation of Ubuntu 16.10. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ...
2
votes
1answer
547 views

Is there a way to remove all the ssh keys added to ssh-agent when the user locks the system?

I have a bunch of keys added to the ssh-agent, keys to servers, repositories, etc. Is there a way to remove all the ssh keys added to ssh-agent when the user locks the system? My system right now is ...
1
vote
2answers
2k views

Ubuntu 16.04 ssh-add without ssh-agent?

I have configured ssh-agent on many older Ubuntu installations, but today, on my new Ubuntu 16.04 setup, I realized that ssh-add has been working, but I never configured my system to run ssh-agent! ...
1
vote
0answers
1k views

SSH agent forwarding failed on ubuntu 16.04 with error 'sign_and_send_pubkey: signing failed: agent refused operation'

Am trying to use ssh agent forwarding on Ubuntu 16.04 by first making sure the agent is running with the command ssh-agent -s then adding identities with ssh-add and ssh-add -c my_key.pem then ...
7
votes
1answer
2k views

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 ...
1
vote
2answers
2k views

Set Up SSH Agent for git

I don't want to enter my ssh password every time I do git push or git pull to/from a remote repository I access via ssh (login via user name and password). ssh-agent git config --global credential....
1
vote
1answer
530 views

ssh key forwarding not working under i3wm

I recently switched from the regular Lubuntu LXDE/openbox to the i3 window manager under Lubuntu 16.04. In either environment I can ssh with authentication forwarding activated into another machine ...
0
votes
1answer
458 views

Solved. Lubuntu 14.04.4 ssh-agent configuration: what I am missing

There are many questions around regarding ssh-agent, but none of the situations described seems to correspond to my problem. First, I am using Lubuntu 14.04.4. I have followed the instructions (...
3
votes
2answers
6k views

ssh-add permanently a key without asking passphrase

I have a private key with a passphrase And I have 2 computers running Ubuntu 14.04 On the first I added the key using ssh-add ~/.ssh/id_rsa It asked me the passphrase, and it was added permanently. ...
6
votes
2answers
1k views

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 ...
1
vote
1answer
897 views

Is it possible to keep added ssh keys in ssh-agent after reboot? (using keychain)

Is it possible to keep added ssh keys in ssh-agent after reboot? As I figure out we use keychain to make ssh-agent keep running between logins, Am I right? so, is there anyway to keeps password ...
4
votes
2answers
752 views

Use sshfs with ssh-agent and/or kwallet

I am using sshfs with a password protected key pair to mount a remote folder using a shell script. I am also using ssh in that script. Every time I start the shell script I get a password request on ...
1
vote
0answers
584 views

Why does ssh prompt me every time for the passphrase when ssh-agent is running?

After reinstalling Lubuntu Vivid Vervet on my computer, whenever I try to ssh into something, it asks for my passphrase. Before the reinstall, it would give me a graphical prompt for my passphrase if ...
1
vote
1answer
2k views

Can't get rid of Gnome SSH Agent

When I type in a terminal git -T git@github.com the dialog with the title "Unlock private key" appears with password entry field. I guess it is Gnome Keyring SSH Agent, and I would like not to use it ...
7
votes
3answers
4k views

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 ⟫ ...
0
votes
3answers
2k views

Pac ssh manager on Ubuntu 14.04 does not work

I am using Ubuntu 14.04. For ssh, I am using pac manger. It was working perfectly on Ubuntu 12.04 but after upgrading to 14.04 pac does not work. When I run it from the terminal it says: Can't locate ...
1
vote
1answer
1k views

Unable to connect to running ssh-agent

I connect to a long-running screen session on Ubuntu 12.04 server, and use that as a jump box for other things I connect to. As a result, I want a long-running ssh-agent on that machine. To that end, ...
6
votes
5answers
5k views

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 ...
2
votes
1answer
815 views

How to set up ssh-agent

I have set up ssh-agent. The problem is, it stills asks for a pass-phrase every time! How do I set it up to only ask for a pass-phrase once? It would be best if it only asked when it was first needed, ...
10
votes
3answers
20k views

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 ...
3
votes
1answer
946 views

Where is ssh-agent started?

ssh-agent is running but it is not started in any of these files: lightdm-session profile bashrc I have a recollection of seeing the ssh-agent initialization shell routine somewhere on ubuntu, ...
17
votes
2answers
84k views

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-...
3
votes
0answers
794 views

ssh-agent running but not working when logged in using PuTTY

When I am using the terminal directly on the machine running Ubuntu 13.04 ssh-add works fine using the process: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch gnome-...
3
votes
0answers
653 views

Despite ssh-agent, TortoiseHG keeps asking for the passphrase

I am using Ubuntu 12.04 and TortoiseHG to access repositories in Bitbucket. I use ssh keys for authentication. I run: ssh-agent then ssh-add and enter my passphrase. I can now use Mercurial and ...
6
votes
2answers
6k views

Automating duplicity backups using cron

How do I automate duplicity backups using cron using gpg encryption and the ssh backend?
3
votes
2answers
868 views

ssh-agent not accessible within a schroot

I'm using an schroot to do some builds of deployment packages, and there's a lot of to and fro between the host and the schroot environments. Within the schroot the ssh-agent doesn't seem to be ...
7
votes
3answers
907 views

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 ...
21
votes
2answers
18k views

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:...
2
votes
3answers
2k views

How to get my ssh passphrase remembered during a Ubuntu session?

If I open a gnome terminal and connect to a server through SSH, I am asked for my passphrase by a text prompt in my terminal instead of a GUI, and, worse, this passphrase is not stored in memory for ...
6
votes
2answers
778 views

ssh-agent is not used when ssh is launched from panel launcher (via `gnome-terminal --command`)

I have everything set up so that after I log in and add proper identity to ssh-agent using ssh-add from a gnome-terminal window, I do not have to enter the passphrase again when I invoke ssh myserver. ...
5
votes
3answers
8k views

Which private keys are tested by ssh without configuration?

I know there are several questions about ssh keys and how to configure it. But I found none to answer my question. So here it is: I have several ssh keys in my .ssh directory. For some remotes ...
2
votes
0answers
875 views

what to do about .ssh-agent pop up at login screen? [closed]

I was setting up git with a ssh key passphrase on Ubuntu 12.04 via the terminal with the assistance of Help.GitHub: "You can run ssh-agent automatically when you open bash by adding the following to ...