我有很多需要配置和设置的 linux 驱动设备。所有设备都具有相同的根通行证。现在我需要在这些设备上复制文件。
一种方法是使用pscp.exe
,但此实用程序需要交互,提示The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
消息。
实际上,我不需要安全复制,我只需要在没有用户交互的情况下为任何给定设备以批处理模式复制文件。我该怎么做?