原帖由
tingfengmanbu 于 2008-11-19 13:34 发表
注释掉不行,执行时出现错误
[root@localhost opt]# sh scp.sh
scp.sh: line 3: spawn: command not found
couldn't read file "*(yes/no)?": no such file or directory
scp.sh: line 5: send: command ...
The authenticity of host '192.168.10.73 (192.168.10.73)' can't be established.