Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #273055
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: scp in crontab problem |
| Date | 2024-09-13 15:20 +0200 |
| Message-ID | <Jmenn-bZui-1@gated-at.bofh.it> (permalink) |
| References | <JmdKG-bZ23-7@gated-at.bofh.it> |
| Organization | occasionally |
On Fri, 13 Sep 2024 20:24:51 +0800 Marcus Park <marp@privatembox.com> wrote: > Hi list, > > I have put the private key into my debian VPS (in ~/.ssh/ dir). The private key of what? And to ~/.ssh/ on which computer. you are talking about transferring a file from one computer to another; which one? And why the private key? Usually one transfers the public key from one's own computer to another, and one keeps the private key, well, private. > > 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. Don't tell us what you did, show us. Copy exactly the line(s) from your crontab file and paste it into your email. Did you get an email from cron? If so, show us that. > > Can you help? Not without better information. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll 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