Thanks to the omz plugin 'gpg-agent' I can ssh passwordless to a choosen host with my ssh key.
On iTerm2, I would like to have a profile with a
command 'ssh somewhere'.
Unfortunately session ends immediatly with Warning:
A session ended very soon after starting. Check that the command in profile "my profile with ssh command" is correct.
as if the iTerms wasn't able to connect to the gpg-agent (my hypothesis, thougth).