🧙🏻♀️ Bring your dotfile commands and configuration to any shell. Sensible defaults and hundreds of commands preloaded. Supports Bash, Zsh, Fish, Nu, Xonsh, Elvish, Dash, KornShell, macOS, Linux, Windows.
1. trying to enable ssh-agent in tmux window without refreshing shell with zsh -il
Neither ssh-helper addnor ssh-helper setup -> ssh-helper add does the trick.
> ssh-helper add $(vi_mode_prompt_info)
Reporting permission changes is not provided by this Operating System.
DISPLAY=[]
SSH_ASKPASS=[]
SSH_ASKPASS_REQUIRE=[]
SSH_AUTH_SOCK=[/var/folders/9x/2sl9wmt12l367t8pgctqpnwh0000gn/T//ssh-7wcI8hK5pzNB/agent.99924]
SSH_AGENT_PID=[99926]
SSH_SK_PROVIDER=[]
GPG_TTY=[/dev/ttys005]
Error connecting to agent: No such file or directory
Error connecting to agent: No such file or directory
07:34:27:/Users/hjalmarjakobsson/reaper/packages/reaper-keys:molleweide
> ssh-helper setup $(vi_mode_prompt_info)
SSH Configuration: .ssh/config
Add SSH Keys to SSH Agent
Do you want to (re-)add your SSH keys to the SSH agent? CANCEL
Add GitHub Keys to Known Hosts
# Host github.com found: line 12
# Host github.com found: line 13
# Host github.com found: line 14
/Users/hjalmarjakobsson/.ssh/known_hosts updated.
Original contents retained as /Users/hjalmarjakobsson/.ssh/known_hosts.old
07:34:54:/Users/hjalmarjakobsson/reaper/packages/reaper-keys:molleweide
> ssh-helper add $(vi_mode_prompt_info)
Reporting permission changes is not provided by this Operating System.
DISPLAY=[]
SSH_ASKPASS=[]
SSH_ASKPASS_REQUIRE=[]
SSH_AUTH_SOCK=[/var/folders/9x/2sl9wmt12l367t8pgctqpnwh0000gn/T//ssh-7wcI8hK5pzNB/agent.99924]
SSH_AGENT_PID=[99926]
SSH_SK_PROVIDER=[]
GPG_TTY=[/dev/ttys005]
Error connecting to agent: No such file or directory
Error connecting to agent: No such file or directory
2. After refreshing shell with zsh -il
After starting a new shell, then the agent is enabled properly. no asking for password.
why is the agent shut down after a while, and why doesnt ssh-helper re-enable it properly.
I feel like sometimes it does but now im getting confused.
1. trying to enable ssh-agent in tmux window without refreshing shell with
zsh -il
Neither
ssh-helper add
norssh-helper setup -> ssh-helper add
does the trick.2. After refreshing shell with
zsh -il
After starting a new shell, then the agent is enabled properly. no asking for password.
why is the agent shut down after a while, and why doesnt ssh-helper re-enable it properly. I feel like sometimes it does but now im getting confused.