basti:
/usr/bin/scp -i /home/userYX/.ssh/myKEY r...@example.com ...
updated: it's really due to environment issue, after I add the '-i' path
to scp, jobs run well now.
Thanks basti.
On Fri, 13 Sep 2024 20:24:51 +0800
Marcus Park 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 privat
On Fri, Sep 13, 2024 at 20:24:51 +0800, Marcus Park wrote:
> I have put the private key into my debian VPS (in ~/.ssh/ dir).
Does this private key have a passphrase?
> 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, i
On 13.09.24 14:24, Marcus Park wrote:
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'
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 t
Am 2006-12-07 22:34:06, schrieb Grok Mogger:
> I tried doing something like this in the system wide crontab
> (/etc/crontab) and I was disappointed to find that it didn't
> work. It seems like the job just never ran at all. Can anyone
> tell me what might have happened?
>
> (This is of course
On Sat, Dec 09, 2006 at 09:18:48PM -0600, W Paul Mills wrote:
> Ken Irving wrote:
> > On Sat, Dec 09, 2006 at 08:13:22PM -0500, Bill Marcum wrote:
> >> The % sign has a special meaning in crontabs. Change it to \%.
> >
> > I don't see any hint of that in crontab(1) or cron(8), but I do see
> > s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken Irving wrote:
> On Sat, Dec 09, 2006 at 08:13:22PM -0500, Bill Marcum wrote:
>> On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote:
>>> I tried doing something like this in the system wide crontab
>>> (/etc/crontab) and I was disappointed
On Sat, Dec 09, 2006 at 08:13:22PM -0500, Bill Marcum wrote:
> On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote:
> > I tried doing something like this in the system wide crontab
> > (/etc/crontab) and I was disappointed to find that it didn't
> > work. It seems like the job just never
On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote:
> I tried doing something like this in the system wide crontab
> (/etc/crontab) and I was disappointed to find that it didn't
> work. It seems like the job just never ran at all. Can anyone
> tell me what might have happened?
>
> (T
Russell L. Harris wrote:
* Grok Mogger <[EMAIL PROTECTED]> [061207 21:39]:
I tried doing something like this in the system wide crontab
(/etc/crontab) and I was disappointed to find that it didn't
work. It seems like the job just never ran at all. Can anyone
tell me what might have happened?
* Grok Mogger <[EMAIL PROTECTED]> [061207 21:39]:
> I tried doing something like this in the system wide crontab
> (/etc/crontab) and I was disappointed to find that it didn't
> work. It seems like the job just never ran at all. Can anyone
> tell me what might have happened?
>
> (This is of c
I tried doing something like this in the system wide crontab
(/etc/crontab) and I was disappointed to find that it didn't
work. It seems like the job just never ran at all. Can anyone
tell me what might have happened?
(This is of course supposed to be on one line)
00 22 * * * root nice /som
Hi,
I scheduled a job to run a script each two minutes that verifies if a
process (python script) is running or not.
If it's not running, it should start a new process of the same python
script.
The problem is that crond sometimes starts three or more processes
within seconds of each other.
Why
Thank you all for your help.
I will install fail2ban
Kind regards,
Joachim
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Tr
> Sometimes about 2500 times an hour. It's just
> very annoying.
>
> So sshd is constantly busy rejecting illegal users.
> When I don't need access to that server, I shut down
> sshd.
Perhaps take a look at the recent thread:
Re: SSH attack
And my reply about a new package, fail2ban:
http://l
> Why don't you just turn off password auth and use
> keys instead?
I did. It's not that I am so afraid that they will
brake in, it's just that they are trying it so many
times. Sometimes about 2500 times an hour. It's just
very annoying.
So sshd is constantly busy rejecting illegal users.
When
Hello Joachim,
On Mon, 10 Oct 2005 10:43:57 -0700 (PDT)
Joachim Smit <[EMAIL PROTECTED]> wrote:
> Because some naughty boys try to get in one of my
> clients' Debian-server a couple of hundred times a day
> I decided to shut down sshd when I don't need. With a
> simple mechanisme I can start sshd
You are likly getting back a line from ps -ef that is infact the process of
the grep looking for sshd.
I had a similar problem like this once.
Trap just the grep sshd part and see if the grep isn't included.
make that line read ...
AANTAL=`ps -ef | /bin/grep '/usr/sbin/sshd' | /bin/grep -v grep
Because some naughty boys try to get in one of my
clients' Debian-server a couple of hundred times a day
I decided to shut down sshd when I don't need. With a
simple mechanisme I can start sshd from distance
whenever I want.
Just in case I might forget to close it when I'm
ready, I run the followi
Dominique Deleris <[EMAIL PROTECTED]> writes:
> Hello list.
>
> I want to run a script, using the crontab facilites in debian : I
> have created a symbolic link to my administrative script in
> /etc/cron.weekly, but it seems to me that it is never triggered.
>
> Here is the ls for the symlink in
On Tue, May 01, 2001 at 09:53:35PM +0200, Dominique Deleris wrote:
> I want to run a script, using the crontab facilites in debian : I
> have created a symbolic link to my administrative script in
> /etc/cron.weekly, but it seems to me that it is never triggered.
>
> Here is the ls for the symlink
Hi,
first of all, I have very limited knoledge on the subject, so
I have no idea what /etc/cron.* would do. but, What I usually do is
crontab -e, and I write my crontab there, and list it with crontab -l
By far not definite, but hope it helps
On Tue, May 01, 2001 at 09:53:35PM +0200, Do
Hello list.
I want to run a script, using the crontab facilites in debian : I
have created a symbolic link to my administrative script in
/etc/cron.weekly, but it seems to me that it is never triggered.
Here is the ls for the symlink in /etc/cron.daily:
lrwxrwxrwx1 root root
Here is the
24 matches
Mail list logo