sftp -v -oIdentityFile=/path/to/custom/.ssh/id_rsa username@www.serverexample.comThe “-v” option will print out verbose debugging information, “-o” allows us to pass ssh options, in this case we pass “IdentityFile” with value “/path/to/custom/.ssh/id_rsa”.