Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #273051

scp in crontab problem

From Marcus Park <marp@privatembox.com>
Newsgroups linux.debian.user
Subject scp in crontab problem
Date 2024-09-13 14:40 +0200
Message-ID <JmdKG-bZ23-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi list,

I have put the private key into my debian VPS (in ~/.ssh/ dir).

When I scp a file from this VPS to another one by hand without password, 
it works.

But when I put this scp into crontab, it seems not work. The scp in 
crontab via private key didn't run as I expect, nothing was copied to peer.

Can you help?

Thank you.
Marcus

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

scp in crontab problem Marcus Park <marp@privatembox.com> - 2024-09-13 14:40 +0200
  Re: scp in crontab problem basti <mailinglist@unix-solution.de> - 2024-09-13 14:50 +0200
    Re: scp in crontab problem Marcus Park <marp@privatembox.com> - 2024-09-14 00:30 +0200
  Re: scp in crontab problem Greg Wooledge <greg@wooledge.org> - 2024-09-13 15:00 +0200
  Re: scp in crontab problem Charles Curley <charlescurley@charlescurley.com> - 2024-09-13 15:20 +0200

csiph-web