Re: [opensuse] Re: Howto call and execute a remote script in bash? Is it rsh or nothing?
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 May 2008 22:58:10 -0500
Linda Walsh wrote:
David C. Rankin wrote:Can I modify the remote .bashrc and pass some ssh parameter to cause .bashrc to run the script? Am I stuck with rsh? As always any help or point to the right man page will be greatly appreciated.---
Is there a reason why your local script can't use ssh to
run the remote command:
#!/bin/bash
# (local script....)
ssh [-n] Remotesys ['nohup' cmd] /path/remotescript [redirection]
Only one I could think of before your post was "lack of knowledge" ;-)
(Notes [command] at the end of man ssh "synopsis" -- kicks self for another forest-for-the-trees issue)
Thanks Linda
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Howto call and execute a remote script in bash? Is it rsh or nothing?
- From: David C. Rankin
- [opensuse] Re: Howto call and execute a remote script in bash? Is it rsh or nothing?
- From: Linda Walsh
- [opensuse] Howto call and execute a remote script in bash? Is it rsh or nothing?
- Prev by Date: [opensuse] Macs account for two-thirds of sales of PCs costing $1,000 or more
- Next by Date: [opensuse]v11.0 Beta3 issues
- Previous by thread: [opensuse] Re: Howto call and execute a remote script in bash? Is it rsh or nothing?
- Next by thread: Re: [opensuse] Howto call and execute a remote script in bash? Is it rsh or nothing?
- Index(es):
Relevant Pages
|