adding SSH with pubkey

Help
DF
2014-02-05
2014-02-05
  • DF
    DF
    2014-02-05

    How does one use SSH (with pubkey). I've tried to do both, but having errors with or without the key.
    eg:
    user@example.com:/destination/
    -e "-i ~/.ssh/key.rsa" user@example.com:/destination/

    They work fine on linux but on windows I get various errors. One for example from cygpath -e being an unknown parameter. I've tried various things such as escaping, and adding to the additional options but without luck
    Thanks