因此我正在使用power shell并在C驱动器中创建shell脚本文件现在我想使用plink.exe通过使用power shell将Linux文件夹发送到该文件夹。 尝试以下命令使用powershell将Linux shell脚本文件从windows插入到Linux框中
PS C:\> .\plink.exe -pw -i "R***t" [email protected] ".\adduser.sh"
Unable to open connection:
PS C:\> .\plink.exe -i ssh "R***t" [email protected] ".\adduser.sh"
PS C:\> .\plink.exe -i ssh "R***t" -P 22 [email protected] ".\adduser.sh"
Unable to open connection:
PS C:\> .\plink.exe -i ssh "R***t" -P 22 [email protected] ".\adduser.sh"
Unable to open connection:
基本上我们如何能连接到Linux系统中通过电源外壳
使用设plink.exe如果我们需要任何SSHKEY让我确认,我们如何才能生成SSH 关键对于plink.exe和什么选择需要使用SSH密钥
所以如果任何有价值的建议和可观由于事先.....
您是否试图将'kdump_config.sh'文件“上传”到Linux机器上? – anacron
是的,我正在尝试上传 –
请参阅下面的答案:http://stackoverflow.com/a/42293621/1794706#1794706 – anacron