problem about executing a command without remote shell
- From: ray <hanlray@xxxxxxxxx>
- Date: Sun, 30 Nov 2008 19:38:54 -0800 (PST)
Hi, all
I want to execute a command on the remote machine with ssh client,
like:
ssh root@xxxxxxxxxxx wifi off
But it gives me the following errors:
/sbin/wifi: eval: 34: brctl: not found
/sbin/wifi: eval: 1: brctl: not found
....
But if I first login into the remote machine and then execute the same
command, it succeeds, like:
ssh root@xxxxxxxxxxx
wifi off
I use public-key authentication, it works, I do not need to enter the
password.
Can somebody help me how to execute this command without logining into
the remote machine?
Thanks
.
- Follow-Ups:
- Re: problem about executing a command without remote shell
- From: Richard E. Silverman
- Re: problem about executing a command without remote shell
- Next by Date: pscp from windows to fedora - server refused our key
- Next by thread: Re: problem about executing a command without remote shell
- Index(es):
Relevant Pages
|