Questions tagged [ssh-agent]
The ssh-agent tag has no summary.
152 questions
0
votes
0
answers
59
views
Use a stored passphrase in keepassxc to logon
I work on a Fedora client and created a new keypair. I want to use KeepassXC to store the private key and passphrase and followed the steps in the documentation.
create a keypair with a passphrase
...
0
votes
0
answers
71
views
ssh connection error (ssh_config attached)
(base) haohao@zhangjunhaodebijixingdiannao .ssh % sudo ssh [email protected] -v
OpenSSH_9.9p1, LibreSSL 3.3.6
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: ...
0
votes
0
answers
62
views
How to unlock ssh passphrase only if it was not already added to ssh-agent?
I have a script that collects information from multiple ssh hosts at once, so it needs the ssh passphrase to be unlocked and loaded into ssh-agent before spawning connections in parallel. All hosts ...
3
votes
1
answer
728
views
How to select SSH key by fingerprint from ssh-agent, while using `IdentitiesOnly yes` option?
This would be useful in situations where:
serving SSH keys via KeePass where there is no file path, and
there are otherwise too many keys: as ssh tries all of them and some hosts are configured to ...
1
vote
1
answer
848
views
Even if SSH is set up, it always asks for the password when logging into the server
I have an Ubuntu server. I use ssh to access it. It worked fine at first. When user@IP is given along with SSH key, it will log into the server without asking for password. But recently, even with SSH,...
0
votes
1
answer
2k
views
ssh prompts for password despite gcr-ssh-agent
I'm trying to set up GNOME-Keyring such that when it is unlocked after login, it will also allow me to use my SSH key, which is encrypted.
This is a Debian 12 system. The key in question is an ed25519 ...
0
votes
1
answer
128
views
Understand SSH AgentForwarding per Host specification
Disclaimer: originally I asked this question on StackOverflow and it was legitimately marked off-topic and think it fits better here. In the meantime I found the problem (see intermediate solution ...
2
votes
0
answers
460
views
PuTTY, Cygwin, ssh-pageant: unable to connect to pipe, error: 3
On a new Windows 11 system, with Cygwin, using the ssh-pageant version 1.4 which comes with Cygwin, I cannot make it work with PuTTY 0.80. The ssh client reports "unable to connect to pipe, error:...
1
vote
2
answers
810
views
SSH agent forwarding when Host and Hostname different
On my client I have an SSH agent setup and the following example config
Host gitserver
Hostname gitserver.example.com
ForwardAgent yes
User git
IdentityFile C:\Users\user\.ssh\id_rsa.pub
...
2
votes
1
answer
16k
views
What is the host key (the one from ssh connection) and how is it different from public-private key pair?
The situation is that I've had a VPS created previously. It was all set up, private-public key authentication, root login turned off, password login turned off. Everything was set up.
Then this server ...
1
vote
1
answer
624
views
The ssh-agent process is not visible to the user who created it but is visible to root
I have adopted the following snippet from Visual Studio Code's documentaion to create an ssh-agent on login:
if [ -z "$SSH_AUTH_SOCK" ]; then
# Check for a currently running instance of ...
3
votes
2
answers
2k
views
Avoid SSH AgentForwarding of incompatible keys
Good morning,
I have one ed25519-sk key (using a hardware token), which I need only on my personal machine for some high security servers (all Debian). This key type is supported by OpenSSH 8.3+. We ...
2
votes
1
answer
817
views
How to create an SSH tunneling agent via HTTPS?
How to allow SSH when the network is blocked on all ports except HTTP and HTTPS?
I'm curious to know how I can create a SSH tunnel which allows me to SSH via 443 and will work even after the server is ...
0
votes
0
answers
964
views
Can't ssh into cloud shell
I try to ssh from my local host to GCP cloud shell and get the error:
$ gcloud cloud-shell ssh --authorize-session
sign_and_send_pubkey: signing failed for RSA "/home/kossak/.ssh/...
5
votes
1
answer
9k
views
How to check if SSH agent forwarding is running, from the remote server?
Locally, I've turned on the SSH agent and I've added my key:
$ eval $(ssh-agent)
Agent pid 80
$ ssh-add
Identity added: /c/Users/...../.ssh/id_rsa (.....@........)
In my ~/.ssh/config, I have this:
...