sshevalssh-keygen

ssh eval "$(ssh-agent -s) returns Illegal variable name


Why does the eval statement return

Illegal variable name

$ eval "$(ssh-agent -s)"
Illegal variable name.

Solution

  • Try $ eval "ssh-agent" instead.