The agent is (probably) running (check your
ps output - From your example you probably have a copy of ssh-agent running as PID 10699).
If you consult the ssh-agent man page (
man ssh-agent) you will find that when you launch
ssh-agent from a command line two things happen:
- The agent starts
- You get some output (specific to the type of shell you're running, or for whatever type of shell you specify) that will set up environment variables to tell
ssh how to connect to the agent.
To make your shell swallow the output you want to do something like:
or run the commands that it dumped on your terminal manually.
The man page also has details on the other way of launching an agent (
ssh-agent [programname] - which will launch [programname] with the appropriate environment variables set).