how to run a command in different machie
in my case script will runs in solaries machine..
in one instance it has to run a command in different machine with different operating system ( linux ) using SSH command
i tried
ssh -l (login_name) (machine name/host ) " command "
but it is not working
is there any enviroment set i need to do ?
era
April 10, 2008, 4:02pm
2
That's how it's supposed to work. What exactly did you try, and how did it fail?
vnix$ ssh elsewhere echo moo
moo
tied from solaries
ssh -l user1 h3287xmf "command"
any environment have to set for that ..?
since it is from solaries to linux ?
era
April 10, 2008, 4:15pm
4
And it failed ... how?
If you get error messages and don't post them here, you are wasting time.
The double quotes are not necessary unless you need to protect something in the command line from the local shell.