I have a script like this one at my .bashrc
file at the mysuer
home:
eval `ssh-agent`
ssh-add /path/to/my/key
The problem is I have this output when I log with the user mysuer
(su - myuser
):
Agent pid 1234
Identity added: /path/to/my/key (/path/to/my/key)
I would like avoid this, silence this output, but load the ssh-agent
and ssh-add
.
How can I perform this?
Best Answer
As usual?