Questions tagged [ssh-agent]
144 questions
1
vote
1 answer
SSH agent forwarding is not working when SVN+SSH
I'm trying to automate the deployment of an SVN repository (with a web app) over multiple production servers, without installing any private key on the servers.
The SVN server is hosted on srv3, and the web app should be updated after each commit on…

Adrien GODDARD
- 11
- 2
1
vote
1 answer
Is there a way to do SSH password-less login when the server only allows keyboard-interactive authentication?
Suppose I've got a server foo.com which only allows keyboard-interactive authentication, and that I can't change this. This means I can do,
sshpass -p PASSWORD ssh foo.com
but I can't create public/private keys to log in without a password.
If I…

marius
- 111
- 2
1
vote
2 answers
How to keep ssh-agent always runnning on Ubuntu server
I'm trying to set up backing up some folder from one server (target server) to another (backup server) using rsync. I also need to call rsync from backup server so it's easier to maintain backup settings for multiple servers in one place.
To achieve…

Den Kasyanov
- 111
- 5
1
vote
3 answers
Does SSHFS support ssh-agent forwarding?
I'd like to be able to mount my backup server on-demand by using my keys on my client terminal only as I don't leave my SSH keys on servers I manage.
Does SSHFS support ssh-gent forwarding and how?
Didn't find answers to that in the…

dzhi
- 800
- 3
- 10
- 26
1
vote
1 answer
Rewrite / Redirect Host With SSH Config File?
My company has three separate jump hosts. Something like: jump1.example.com, jump2.example.com, and jump3.example.com
All internal servers must be accessed through these jumphosts:
local ---> jump1.example.com ---> internal.example.com
We have lots…

stevendesu
- 113
- 9
1
vote
2 answers
`ssh` client not offering the 2nd key in my agent, only offers my default key - what's going on?
I have a second SSH key in my agent, which I added with ssh-add. It comes after my default key, which lives at ~/.ssh/id_rsa.
I have a server that has the 2nd key's public key added to it's authorized_keys file, and I would expect my agent to offer…

Asfand Qazi
- 244
- 1
- 2
- 11
1
vote
1 answer
Open-SSH Windows Bad Auth Request
I'm trying to use OpenSSH for Windows (Server 2012 R2). I am able to authenticate (using username and password for now) however despite logging in fine it actually shows this error in the log:
2532 00:23:09 641 debug1: bad password auth request
I…

Talisman
- 111
- 2
1
vote
1 answer
Prevent duplicates when launching ssh-agent in upstart script
As part of an Upstart script, I need to launch ssh-agent to load a GitHub deployment key, so in the script I have:
eval "$(ssh-agent -s)"
ssh-add $HOME/.ssh/id_rsa
The problem is that when the service is restarted, ssh-agent is relaunched, leaving…

Andrew Porritt
- 113
- 5
1
vote
1 answer
ssh-add -l multiple entry for the same private key
192-168-1-103:~ josh$ ssh-add -l
4096 SHA256:4fFdwJ71VIH8rucL9y/3U7jxjctaFcAKmdQZPEqR0Y4
/Users/josh/.ssh/id_rsa (RSA)
4096 SHA256:41kNx5H5yDf1mv6ZNS5W5nSI77WU5qhajLYHvUe6/1A
/Users/josh/.ssh/id_rsa (RSA)
Any idea how come there are two…

user61342
- 149
- 1
- 1
- 4
1
vote
1 answer
how to restrict ssh-agent to trusted applications only?
Is there a way to prevent an application from using my ssh-agent keys?
I started using an application that uses ssh to access my remote server (possibly for a legitimate reason, according to the application developers, but not a good reason,…

user13097
- 221
- 2
- 7
1
vote
1 answer
Jenkins: use ssh-agent and git plugins together
So, I have the following situation: a server with dedicated users for each project (e.g. foo) and a jenkins server which runs as a jenkins user.
I've generated an SSH key pair for my foo user and added the public one as a deploy key to a github…

Creynders
- 153
- 2
- 7
1
vote
0 answers
Enabling SSH for deploy of a bitbucket git repo
I'm trying to deploy my git repo to my server. To make this work I first needed to setup ssh on my locale computer and on my server.
for bitbucket I followed https://confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html and for pm2 I…

Markus
- 109
- 6
1
vote
0 answers
sshpass like ssh-agent or vice versa
I like to hold ssh logins for the runtime of a script. For public key authentication, ssh-agent can be used, allowing me to enter the key passphrase once when the script is started. However, that doesn't work for interactive password logins. For…

dronus
- 1,178
- 1
- 13
- 15
1
vote
1 answer
Openssh in VM authenticate using Pageant on host
Update: It looks like the network design was completely wrong and the auth flow should be the other way round instead. So this question is moot now.
Current setup: Linux VM (assume common and most updated ones like CentOS 7.1 and Ubuntu 15.04) on…

Abel Cheung
- 251
- 1
- 9
1
vote
1 answer
OSX: ssh-agent caching passphrases....but when cleared?
I have a ssh RSA key in a client OSX 10.9.4. The SSH server is ubuntu. Everything works OK, but the problem is that my OSX ssh-agent seems to be caching the passphrases. The first time I ssh, it is asked. Next time, it is not, and I directly log in…

Mariano Martinez Peck
- 247
- 4
- 11