FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Shell script to automate rlogin





abhinav_shah
I have this shell script :
Code:

rsh alpha11 <<SCRIPT
chmod +x /usr/users/abhinav/kernel.sh
/usr/users/abhinav/kernel.sh
SCRIPT

but this doesn't work.
it gives error : rlogin: closed connection.

i have also tried :
Code:

sh alpha11
chmod +x /usr/users/abhinav/kernel.sh
/usr/users/abhinav/kernel.sh

but that also gives the same error.

Can anybody help.


Abhinav Shah
mattd8752
you sure you have shell access here?
virtualpointer
Did these codes work seperately operating line by line?

I think it may need password somewhere.
Related topics
Complete Tutorial LINKS for every language
How to enable the shell script on the hosting site ?
Fix for deleting files/directories owned by apache
CRC on all folders/subfolders
POCKET LINUX : NEARLY TOO EASY
unix script directory
Linux - simple shell script how to turn ECHO off ?
launching shell scripts from jython/python
using cron jobs and scp to automate backups
shell Script and PHP
Shell scripting write/edit/delete
mysql adding new user with shell
gimp - resize your pics with shell
Learing Shell Script
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.