The script:
#!/bin/sh
scp /conf/acme/* gentooserver:/etc/ssl/apache2/
scp /conf/acme/* octopi:/etc/ssl/
When I execute it, I get output indicating at least the first command executes. (Plus the script has worked before when it was just the first line). But if I look in octopi:/etc/ssl/, the files aren't there.
If I just execute scp /conf/acme/* octopi:/etc/ssl/ on the command line, the files copy fine.
Why does this command not work from inside a shell script?