I\'ve spent far more time on this than I care to admit. I am trying to just deploy one file into my Artifactory server from the command line. I\'m doing this using gradle
Take a look the Artifactory REST API, mostly you can't use scp command, instead use the curl command towards REST API.
$ curl -X POST $SERVER/$PATH/$FILE --data @localfile
Mostly it looks like
$ curl -X POST http://localhost:8081/artifactory/abc-snapshot-local/remotepath/remotefile --data @localfile
The scp command is only used if you really want to access the internal folder which is managed by artifactory