PDA

View Full Version : SCP help


sysparman
21st October 2004, 07:41 PM
I have a batch job that kicks off sometimes and it uses scp to transfer newely created files from one server to the next with password-less keys. It fails sometimes, but not all of the time. One thing I see is scp -v -f /filename, in the verbose output, when I only specify scp -v in the actual command. Does anyone know what the -f means? I assume file, but that's never safe.

I get a permission denied from the push server as well, and I 've been trying to regenerate it, but to no avail. Does anyone know why I would get an intermitent permission denied error from the push server? I'm at my wits end.

Thank you,

Sysparman

GreyGeek
21st October 2004, 08:05 PM
Have you checked "man scp"?
I don't see a "-f" parameter, but a "-F /filename" tells scp to use filename as an alternate config file.

sysparman
21st October 2004, 09:29 PM

It's not on the command line. The only switch on the comand line is scp -v. But in the verbose output it shows this:

INFO : debug1: Sending command:
scp -v -f /ricef/DVS/interfaces/in0008/SIN00080000007755XXX_20041020172056


That's definetly not the switch for the an alternate sshd_config. I'm confused!