You are not logged in.

#1 2013-12-22 14:26:51

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

keychain/ssh-agent not working when connecting in zsh

well, easy description: when connecting to my ssh server in bash, i am not prompted for a password (which is stored in ssh-agent via keychain)
when i do the same in zsh, it does not work.

carnager@caprica ~ > mosh 53280.de
Enter passphrase for key '/home/carnager/.ssh/id_rsa': 
zsh: interrupt  mosh 53280.de
carnager@caprica ~ > bash -l
[carnager@caprica ~]$ mosh 53280.de
[mosh is exiting.]
[carnager@caprica ~]$ 

He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2013-12-23 07:45:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: keychain/ssh-agent not working when connecting in zsh

Is it just a mosh thing? I have no issues using Zsh.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-12-23 11:58:33

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: keychain/ssh-agent not working when connecting in zsh

jasonwryan wrote:

Is it just a mosh thing? I have no issues using Zsh.

no... happens with anything that needs ssh


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2014-05-02 09:19:56

slaecker
Member
From: Germany
Registered: 2013-10-27
Posts: 9

Re: keychain/ssh-agent not working when connecting in zsh

Have you been able to solve this issue? I'm facing the same.

I have the following in my ~/.zprofile

eval $(ssh-agent)

But everytime I want to connect to my homeserver via mosh/ssh I'm asked for the ssh key passphrase.

Offline

Board footer

Powered by FluxBB