Questions tagged [ssh-agent]
SSH-agent is an utility which offers a secure way of storing the passphrase of the private key used in SSH connections
160
questions
2
votes
1
answer
41
views
Is ssh-keygen -s supposed to work with ssh-agent?
We're converting our ssh host keys to certificate-signed keys. I wanted to write a script that would use ssh-keyscan to grab all the public keys, then sign them all, and then use ansible to push the ...
0
votes
0
answers
58
views
How to setup ssh-agent to persist keys after closing remote connection for use in cron jobs?
I have several cron jobs that require password protected ssh keys. The jobs run each morning and are consistently failing due to the agent not keeping the keys alive after disconnecting from the ...
1
vote
0
answers
60
views
Why does FileZilla start its own ssh-agent process?
Why does FileZilla start its own ssh-agent process? When I open my terminal, an ssh-agent gets created with socket location /var/folders/sm/4bt9kz951dg4s5kq1jwy57tc0000gn/T//ssh-nWola5Puaw6o/agent....
1
vote
1
answer
1k
views
ssh keys issue & how to mounts as readonly in devcontainer.json?
i have windows as the host, working with devcontainer without wsl, created ssh key with custom name, let say id_github. and managed to set ssh-agent auto run, and can use git fetch with ssh key with ...
4
votes
3
answers
11k
views
How to automate starting the ssh agent and adding my key(s) in WSL2 for Windows 11
OS: Windows 11 Version 10.0.22621 Build 22621
WSL version: 1.2.5.0 (WSL 2)
Linux distro: Ubuntu 22.04.2 LTS
I run WSL2 on Windows 11 in a Windows Terminal window, and I often connect to a remote ...
0
votes
1
answer
392
views
List of ssh keys provided by ssh agent on a remote machine
Locally keys made available by ssh agent can be listed using ssh-add -L. When connected to a remote machine through ssh, is there a way to list keys made available through ssh agent from the local ...
3
votes
1
answer
6k
views
How to use ssh-agent as a system service on mac
I'd like to run ssh-agent as a system service, so I have one global ssh-agent running that is accessible from all shells and GUI programs. On Linux I followed these instructions to run ssh-agent as a ...
3
votes
2
answers
1k
views
Why does ssh-agent with [email protected] key produces agent refused operation
Client:
Arch based distro
OpenSSH package version: 9.3p1-2
SSH-Agent started with ssh-agent -c in fish shell
Key generated with: ssh-keygen -t ed25519-sk -f ~/.ssh/servers_ed25519_sk -O verify-...
4
votes
3
answers
867
views
Windows11 ssh-agent does not remember passphrase
I am facing the issue that my running ssh-agent is not remembering my private key passphrase. It keeps prompting to enter it, each time I open an SSH session. I cannot figure out why and hope somebody ...
1
vote
0
answers
147
views
Why is ssh-agent not starting?
When I type the command $eval "$(ssh-agent -s)" to start ssh and be able to register my keys I get the following error:
1 [main] ssh-agent 437 dofork: child -1 - forked process 628 died ...
1
vote
0
answers
1k
views
SSH agent will not start on login
I've got an issue where ssh-agent does not start automatically on login. I have tried writing a service, configuring a systemd autostart script and a bunch of other things.
Another thing I've noticed, ...
0
votes
1
answer
382
views
Where does ssh-Agent stores passphrase?
I added the passphrase of my ssh to the ssh-agent 4 months ago (i followed a random superuser.com question to do so)
Since this, I restarted my laptop and so on but I have never been asked to enter my ...
0
votes
1
answer
1k
views
Starting ssh-agent from a script for use in multiple scripts (invoked by git)
I have some homepages in a git repository each. They are built by Jekyll. When I change something, I use git's pre-push hook to let Jekyll build the page and sync it with my HTTP server via rsync.
...
0
votes
2
answers
730
views
ssh-agent on mac shows old identity
I migrated my data from my old mac to a new machine. This copied the .ssh directory, so ssh-add -L showed my old identity.
I decided to remove that using ssh-add -D, then created a new identity using ...
0
votes
1
answer
2k
views
ssh-add does not allow adding or deleting any keys
I am using Windows 10 v20H2, with OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2. The ssh-agent service is running, but I cannot get ssh-add to do anything productive. I did initially add a key, which ...