Questions tagged [ssh-agent]

The tag has no usage guidance.

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

Make SSH agent to confirm the passphrase with interval (AddKeysToAgent confirm interval example)

Right now, the system is asking me for the SSH key passphrase only once during the session. However, I don't find it secure and I would like it to ask me for the password periodically (e.g. every 10 ...
0
votes
0answers
84 views

Why does keyring not unlock SSH?

When I use SSH to login on the network it asks for the password of id_rsa, even though I have keyring unlocked. What is going on, and how can I take steps to solve it? Version: Ubuntu 20.04.2 LTS, ...
0
votes
1answer
136 views

SSH Key doesn't work with any GIT repo

Just installed Ubuntu 20.04.02LTS. I installed GIT, generated a new .ssh with this example from DigitalOcean, after which I added the new key (public) to my github, bitbucket and private git repo, and ...
0
votes
0answers
104 views

How to add ssh keys automatically when I create one in Kubunut 20.04

I just created new ssh key to use with git repos. But it looks like i have to add them every-time when i restart the system. But this is not the case with my previous Linux installations where I will ...
0
votes
1answer
56 views

Ubuntu 18.04 how do I create ssh-agent just for 1 terminal application with multiple tabs but not the whole system

I'd like to be able to create ssh agent just for a single terminal window, so that key(s) loaded into that agent are available only in that windows a terminal application running multiple tabs, but ...
0
votes
1answer
179 views

How to explicitly pop up the dialog to enter passphrase for SSH key?

I have a private SSH key which I use to login to remote server. When I start ssh my.server command in GNOME terminal, a dialog box pops up to enter the passphrase to unlock the key (see below - it's ...
2
votes
1answer
68 views

How can I reinitialize ssh-agent through a remote login after rebooting?

My work computer runs Ubuntu 19.10 and has an ssh-agent setup for password-free connections to some other systems. It was rebooted and now the scripts that relied on not getting password prompts are ...
0
votes
1answer
223 views

SSH Key Registration Not Preventing Prompting of Password

I recently switched from Ubuntu 19.10 to Kubuntu 19.10. Ever since doing so, servers I ssh to always prompt me for password, even though I've used ssh-copy-id to register my public ssh key with those ...
0
votes
0answers
141 views

How to achieve perstistence with ssh keys using ssh-add

I'm trying to make my ssh keys permanent. I tend to use crazy passwords and typing it in every time destroys workflow. I have two keys, one with to a remote server and one for github. I would like to ...
3
votes
1answer
2k views

ssh-agent not working in Kubuntu 19.04

I freshly installed Kubuntu 19.04 but I used my old home folder from Linux Mint. .bashrc and .profile are Kubuntu versions. When using ssh, I everytime need to type my pass phrase. I can manually ...
0
votes
1answer
62 views

Why I have to command “source virtualenvwrapper.sh” every time I open a new Terminal for use workon?

I want to use virtualenvwrapper. But when I close a terminal then open a new one, I have to command "source virtualenvwrapper.sh" again then I can use workon.
1
vote
0answers
36 views

How can I mount a remote drive that I can only access via SSH agent forwarding? [duplicate]

I apologize if the question title is unclear. To clarify, I have to SSH into server1 and then SSH from there into server2. Server2 is where the folder I need to mount is located. I've tried setting ...
1
vote
0answers
170 views

ssh agent with loaded key shared across multiple terminal windows

I wonder how is it safe if I open terminal and add a key using ssh-add private-key-file, and all my other terminals share the same key loaded if I check with ssh-add -l. I'm afraid what if I download ...
0
votes
2answers
4k 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
2answers
5k 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
28 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 ~...
2
votes
1answer
2k 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
565 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 ...
7
votes
0answers
2k 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 ...
3
votes
1answer
2k 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 ...
3
votes
2answers
4k 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 ...
0
votes
1answer
654 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 ...
13
votes
3answers
3k 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, ...
3
votes
1answer
7k 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 ...
2
votes
0answers
687 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
127 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
553 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
2k 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. ...
9
votes
1answer
5k 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?
4
votes
1answer
581 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
1k 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 ...
2
votes
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! ...
2
votes
0answers
2k 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
3k 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
4k 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
931 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
718 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 (...
6
votes
2answers
7k 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. ...
7
votes
2answers
3k 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 ...
2
votes
1answer
2k 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 ...
5
votes
2answers
1k 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
681 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 ...
3
votes
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 ⟫ ...
1
vote
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
2k 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, ...
7
votes
5answers
7k 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
991 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, ...
11
votes
3answers
24k 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 ...
4
votes
3answers
1k 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, ...