Re: Autostart of ssh-agent in root's .profile prevents startup

2019-07-05 Thread Antoine Jacoutot
On Fri, Jul 05, 2019 at 08:52:55AM +0200, Rosselur Rossen wrote: > Hi! > > I have the following added to root's .profile: > > --snip-- > env=~/.ssh/agent.env > agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } > agent_start () { > (umask 077; ssh-agent >| "$env") >

Re: Autostart of ssh-agent in root's .profile prevents startup

2019-07-05 Thread Raf Czlonka
On Fri, Jul 05, 2019 at 07:52:55AM BST, Rosselur Rossen wrote: > Hi! > > I have the following added to root's .profile: > > --snip-- > env=~/.ssh/agent.env > agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } > agent_start () { > (umask 077; ssh-agent >| "$env") > .

Re: Autostart of ssh-agent in root's .profile prevents startup

2019-07-05 Thread Robert Klein
Hi, On Fri, 5 Jul 2019 08:52:55 +0200 Rosselur Rossen wrote: > Hi! > > I have the following added to root's .profile: > > --snip-- > env=~/.ssh/agent.env > agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } > agent_start () { > (umask 077; ssh-agent >| "$env") >

Autostart of ssh-agent in root's .profile prevents startup

2019-07-04 Thread Rosselur Rossen
Hi! I have the following added to root's .profile: --snip-- env=~/.ssh/agent.env agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } agent_start () { (umask 077; ssh-agent >| "$env") . "$env" >| /dev/null ; } agent_load_env # agent_run_state: 0=agent running w/ k