HostA and HostB.
need to rsh to HostB from HostA.
and execute the command
{sudo rsh HostA "csh;pwd"} -->the root account on HostB using bash
the script will hang, 我怎么才能在script 实现rsh倒hostB ,然后在转成csh.
HostA and HostB.
need to rsh to HostB from HostA.
and execute the command
{sudo rsh HostA "csh;pwd"} -->the root account on HostB using bash
the script will hang, 我怎么才能在script 实现rsh倒hostB ,然后在转成csh.