[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: How to schedule for a repeated task?



From: hadi motamedi [mailto:motamedi24@gmail.com] 
Sent: Monday, May 03, 2010 9:26 PM
To: debian-user@lists.debian.org
Subject: Re: How to schedule for a repeated task?

password.  Then just execute "ssh username@remote.server somecommand" and it
will run "somecommand" and the output will be sent back to you.


Thank you for your reply. Please be informed that I didn't have success in
activating ssh on my remote node VxWorks. According to your comment, I want
to make use of it on my another Red Hat 9 remote node. From my previous
posts, I learned to enable it as the followings :
- First, ssh to the remote machine and then logout .
- Second , generate a key :
- #ssh-keygen ?t dsa
- Third , copy your public key to the remote machine :
- #scp ~/.ssh/id_dsa.pub username@remote.server:.ssh/authorized_keys
- Select your appropriate passphrase
But this procedure is not working with the remote end as Red Hat 9. As you
see, it is not always possible to construct ssh. Did you have any experience
with VxWorks to enable ssh on it?

---------------------------------------------

I don't know anything about VxWorks, but from looking at Wikipedia, it looks
like it's meant for embedded systems, and as such it may not have an SSH
server on it.  If that is the case, then you'll need to use "expect" with
telnet, as in the original responses.  Google gives several example scripts
using a search phrase like "expect telnet example script".

Hope this help!
-- Kevin





Reply to: