SSH-agent is an utility which offers a secure way of storing the passphrase of the private key used in SSH connections

learn more… | top users | synonyms

0
votes
0answers
17 views

Why is my ssh-agent dying shortly after being started by xinit?

I'm starting i3 window manager using xinit and xsession. My .xinitrc ends with this line: /etc/X11/Xsession /usr/bin/i3 And ssh-agent is started automatically by Xsession: # ...
1
vote
0answers
14 views

SSH agent forwarding is not working

My SSH agent forwarding is not working. The answer from this question is quite old and the answer is conflicting with the comments. Can we have an updated answer please? Basically I can SSH from ...
0
votes
0answers
23 views

SSH automatic login works but showing error after logging in. What does that mean?

$ssh -v server_name OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to server_name [IP_ADDRESS] port ...
0
votes
0answers
10 views

ssh-add issue Could not open a connection to your authentication agent

I'm having a little issue with my ssh-agent. Indeed I can't make it work and I don't understand why. This is the console's output : http://hpics.li/807f3fe I'm sure that ssh agent is running. For ...
2
votes
0answers
82 views

ssh-agent installed with git 1.9.5 faults

I am getting a fault when running ssh-agent from windows 7. I think it could be a permission issue, though UAC is off. ssh-agent.exe SSH_AUTH_SOCK=/tmp/ssh-vDq8tk2Qlatv/agent.10256; export ...
0
votes
0answers
44 views

Usage of ssh-agent with signed SSH keys

My ssh-agent doesn't want to store my credentials for Signed SSH key when connecting to a SSH server that use a SSH CA. I mean, each time i try to logon it ask me for the passphrase of the certified ...
1
vote
1answer
23 views

ssh-add -D deletes keys on originating host

I have an ssh-agent running on my macbook. I use ssh -A and carry the keys forward to my redhat box. The thing that surprises me though is that when I do a 'ssh-add -D' on the redhat box, the keys ...
2
votes
0answers
68 views

ant <scp> support for ssh-agent

I have an existing build.properties file that uses scp like this: <scp todir="${linux.user}@${linux.site}:@{todir}" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" trust="yes" ...
0
votes
0answers
38 views

ssh-keygen change passphrase, askpass prompt still asks old one. seahorse related?

I changed my ssh passphrase with ssh-keygen -p and it is correctly updated in the id_rsa file. I then removed all keys from ssh-agent. Seahorse (or gnome?) reloads all keys immediately into the ...
0
votes
0answers
39 views

ssh-agent forgets ssh keys

I try to use ssh-agent for passwordless authentication. However after adding my keys with ssh-add the passwords are only remembered for the session. The ssh-agent is started by gdm along with ...
1
vote
0answers
75 views

SSH Agent Forwarding not working even when using `ssh -A`

First of all, I've checked all the following Agent Forwarding not working Extra configuration required for ssh-agent forwarding? SSH Agent Forwarding Not Working ...
2
votes
1answer
181 views

Use private keys only from ssh-agent, avoiding “Too many authentication failures”

I store all my private keys encrypted in encfs file. I mount (decrypt) encfs file to folder, add all private keys to ssh-agent with a lifetime flag and unmount folder. In this case my private key ...
0
votes
1answer
120 views

ssh agent forwarding failing at 6 keys

My client is mac os x 10.9.5. I have a bastion host (linux) that I am ssh'ng into. I have agent forwarding working so I can ssh to the bastion host and then ssh into another machine without having ...
0
votes
0answers
78 views

How to use 'Keychain Access.app' to manage ssh keys with a single ssh-agent?

I don't want to type the passphrase to decrypt my private ssh key every time I use it, but I do want to type it occasionally so I won't forget it. The first time I'm using ssh since restarting or ...
0
votes
0answers
44 views

ssh-agent/ssh-add - how can I force confirmation by default?

I use ssh forwarding alot and I'm concerned about "agent hijacking", so, I like to use -c option when calling ssh-add, which enforces confirmation on every key usage. How can I turn the confirmations ...
0
votes
0answers
18 views

Supply ssh key without querying agent

In my ssh_config, I set IdentityFile and IdentitiesOnly yes and ForwardAgent no. ssh uses this key but it still queries the agent! But it shouldn't do that; I explicitely supply the key I want. The ...
0
votes
1answer
95 views

ssh-agent on ubuntu rapidly restarts

I am attempting to use ssh-agent on Ubuntu 13.10 so that I will not have to enter my passphrase to unlock a key every time I want to use ssh or git. As you can see below, ssh-agent appears to be ...
0
votes
1answer
322 views

Silence ssh-add

I have a cronjob that runs some tasks, and at the beginning of the script it runs is an ssh-add call ( it doesn't run as the user with the appropriate key so it needs adding, and in future it may well ...
1
vote
0answers
40 views

ssh-agent running differently on two VMs

I have two openSUSE 13.1 VMs. Both have been set up to run ssh-agent and ssh-add when KDE loads up. This is done via the .bash_profile file using the following code: # Load SSH agent ...
1
vote
1answer
162 views

Always being asked for passphrase

I have set up an RSA keypair using How do I set up SSH so I don't have to type my password? But I keep getting prompted for the passphrase Enter passphrase for key '/var/www/.ssh/id_rsa': ...
8
votes
2answers
13k views

ssh-agent / ssh-add error: could not open a connection to your authentication agent

I type in ssh-agent and get the following back: SSH_AUTH_SOCK=/tmp/ssh-GqdeT074HLRJ/agent.4670; export SSH_AUTH_SOCK; SSH_AGENT_ID=4671; export SSH_AGENT_PID; echo Agent pid 4671; I then type in ...
0
votes
1answer
169 views

emacs tramp working with gnome-keyring-daemon

Right now I have gnome-keyring-daemon set to start at login. If I run emacs -q and then open a file on a server using M-x find-file and then enter a file on a remote server such as ...
0
votes
1answer
950 views

SSH ForwardAgent + multi-Host

I have several Hosts in ~/.ssh/config, and they work fine from local machine, but remote machine doesn't know these Hosts. Host A HostName github.com IdentityFile ~/.ssh/A_rsa Host B ...
2
votes
1answer
733 views

How do I stop ssh-agent from forgetting my password after I login to the screen session from SSH?

I have a screen session open in an lxterminal window. If I SSH somewhere, the first time it happens, an ssh-agent window opens and asks me for my private key passphrase, and after that ssh goes right ...
2
votes
0answers
474 views

Launchd not launching ssh-agent after plist edit

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument. I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist <array> ...
1
vote
1answer
142 views

keychain/ssh-agent loading only one key

My ~/.profile contains the following: SSHAGENT=/usr/bin/ssh-agent SSHAGENTARGS="-s" if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then eval `$SSHAGENT $SSHAGENTARGS` eval `keychain --eval id_rsa ...
1
vote
0answers
50 views

Is the default time for ssh-add configurable in sshd_config?

Is the default time for ssh-add configurable in sshd_config or does it always have to be added on the command line?
0
votes
1answer
190 views

Why does “ssh-agent && ssh-add” only work once?

Have a look at the following shell session: niklas@llw ~ % ssh-agent && ssh-add SSH_AUTH_SOCK=/tmp/ssh-ZzWYJAmK8809/agent.8809; export SSH_AUTH_SOCK; SSH_AGENT_PID=8810; export SSH_AGENT_PID; ...
1
vote
1answer
721 views

Which ssh-agent to connect to when setting SSH_AUTH_SOCK inside screen/tmux?

I am using a variation of the following line: export SSH_AUTH_SOCK=$(find /tmp/ssh-* -name agent.\* -uid $(id -u)|head -n 1) found over at Github. This way I should be able to use my forwarded ...
3
votes
1answer
404 views

Is it possible to have zsh+keychain+tmux not ask for keys?

I'm using tmux and zsh, and I've recently been learning about ssh-agent and keychain. From the manpage for zsh, it says that it will source .zlogin only if the shell is, well, a login shell. ...
4
votes
2answers
4k views

How can I retrieve my ssh passphrase from gnome-keyring?

I forgot the passphrase for my ssh private key, but it's still stored in gnome-keyring, so it seems to me that I should be able to recover it. Seahorse lets me recover web site passwords from my ...
3
votes
1answer
2k views

openssh in Windows 7, run ssh-add once for all cmd instances

I have installed openSSH as part of the latest cygwin distribution. My goal is to use the ssh-agent from native window console (cmd) in order to login passwordless in a various number of Linux ...
2
votes
3answers
351 views

Is it possible to spawn an ssh-agent for a new tmux session?

I've seen lots of hacks for re-establishing contact with a GUI session's SSH agent from within tmux (and screen) sessions. I'm wondering if it's possible to de-couple from the GUI and spawn an ...
0
votes
1answer
449 views

msysgit on the command prompt without bash

I've got mysysgit setup with Tortoise with PuTTY and ssh. From the Tortoise side everything is working I can clone, pull, push, etc. If I drop to a command prompt and run git I see the help screen so ...
4
votes
2answers
4k views

Git — SSH Agent not working

The back story -- I've been using Git on this computer (Windows XP) for about 8 months with no problem. Suddenly, last week, it is no longer asking me for my username and password when I start Git up. ...
1
vote
1answer
1k views

SSH Agent Forwarding Not Working [closed]

SSH Agent Forwarding stopped working for me. Any ideas as to what might be going on? I'm attaching my logs below: Connecting to the server: http://goo.gl/4xxz9 Connecting to github on server: ...
4
votes
1answer
1k views

ssh-agent key timeout with screen or tmux on bastion host

Normally I have ssh-agent running, I ssh to my bastion host then open a tmux session and connect to other boxes through that. Key forwarding works for any sessions that I open from that point ...
0
votes
1answer
3k views

ssh-agent and ssh-add

Does anyone know how to make it so that I don't have to add my keys manually using ssh-add? Every time I log into my Ubuntu server box, I have to start the ssh-agent and then use ssh-add before my ...
17
votes
7answers
30k views

How to use SSH private key to log in without entering passphrase every time on Mac OS X Lion?

I use Mac OS X Lion and login remote hosts via SSH every day. Despite the fact that I use SSH key pair for remote authentication and I don't need to motorize every host's login phrase, it is still ...
4
votes
3answers
4k views

How to change the number of columns on a putty window to more than the screen width?

I am on windows and often have to ssh to linux machines. Though as much as I would love to have an alternate ssh client, none really comes part to Putty. One thing or the other always breaks, even in ...
9
votes
2answers
15k views

ssh-agent on MAC OS X Lion - sometimes it requests ssh password

Terminal V. 2.2.2 Mac OS X Lion 10.7.3 I've followed ipsis verbis the steps here: http://superuser.com/a/8110/72002 This works, BUT, if I restart the machine, it promps for the password again!!! ...
0
votes
0answers
250 views

Make `ssh-agent` use the terminal, not an X app

The ssh-agent X app is irritating. I use a password manager and long random passwords. The password manager (pwsafe) puts the password into the clipboard (using secure ram), so it isn't displayed or ...
1
vote
0answers
65 views

askpass only for tunneled requests

I'd quite like to have the confirm (ssh-add -c keyfile) behaviour from ssh-agent- but only for requests that are tunneled over ssh (ssh -A richo@somewhere). Is this possible? The manpage seems to ...
3
votes
3answers
10k views

using puttygen generated public keys in unix environment? [duplicate]

Possible Duplicate: How to convert .ppk key to OpenSSH key *under Linux*? (unix, here: ubuntu 10.4) I know how to create ssh key pairs in unix (ssh-keygen) and how to do it in windows ...
0
votes
1answer
154 views

ssh-agent is broken after running Meerkat - can connect to git in terminal but not in Tower - no keychain access

My mac running Snow leopard 10.6.8 is having trouble handling it's ssh keys. I could previously access all my git repo's via Tower without an issue. The other day I ran Meerkat to see what it was ...
3
votes
2answers
3k views

Use a specified key from ssh-agent

Along the lines of Tell git which private key to use I would like to use a specific ssh key in a given situation. My problem is that even when I specify '-i something' ssh uses the keys from my ...
2
votes
1answer
479 views

Trouble implementing ssh-agent forwarding across ssh and then su

I've got a web server with a dedicated unprivileged user who runs the apache instance on the box. The php code for the app the web server runs is in a private github repo that I occasionally need to ...
1
vote
2answers
334 views

SSh-Agent Bash and Eval and Env

I have been reading about how ssh-agent works and how it relates to the shell environment. I understand why we do eval ssh-agent now (usually in /etc/profile), it makes logical sense. However the ...
4
votes
2answers
2k views

tmux: Cannot SSH from inside tmux, even though I have agent-forwarding (ssh -A) on [duplicate]

So I have keys to some servers stored locally on my MacBook, but I work from inside a Virtual Machine a considerable amount of time, so I SSH to the VM with ssh -A. This allows me to SSH to servers ...
17
votes
3answers
10k views

How to make ssh-agent automatically add the key on demand?

I want to run ssh-agent (with maximum lifetime option), but not add any keys at startup, but instead add them on demand. Like first time I login to some server it should ask for passphrase, next time ...