因此我正在使用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