From: hadi motamedi [mailto:motamed...@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 usern...@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 usern...@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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/01d401caebce$9ecb62c0$dc6228...@net