Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation I've found, I should be able to do this:
sftp -F db.sql.gz email@example.com /tmp
I have also tired the alias in my config:
sftp -F db.sql.gz myalias /tmp
When I do the two above, I simply get a print out of possible commands,
-F being one of them.
I can already connect via ssh using the shortcut in my local config just fine so I know that works:
**Note: I am connecting using a private / public key pair so I never need to enter a password. The key pair does have a passphrase associated with it but OS X Keychain remembered that the first time I connected.
... so I am not sure what I am doing wrong.