If I manually copy the switch's config via the cli ( file copy /directory/file scp://user@server/directory ) everything works fine. I'm prompted for a password, and then the file gets uploaded successfully.
If I set up a transfer-on-commit ( set system archival configuration transfer-on-commit archive-sites scp://user@server/directory password password ) the transfer does not work. I can see the user authenticated via the desktop app. A file will show up in the directory with the correct name, but it is zero byes in size and can't be opened. The switch log shows a generic error transferring the file.
I am running version 1.0.4.9 of the scp server.
I've tried various EX series switches running different versions of Junos.
I'm thinking this may be an authentication issue. The cli method, that works, is keyboard interactive, and I'm assuming the transfer-on commit method is password. If that is the case, I don't know what I could do to resolve this.