2012-07-01 19 views

回答

2

這是soultion:

bash -c "scp MyProgram [email protected]:/bin/" 

現在我仍然不知道是怎麼傳的密碼,所以我不必須進入它! 有人嗎?

0

PSCP -pw「密碼」 $ {PWD}/SRCFILE [email protected]:/根/ DSTFILE

+0

的,爲什麼你的答案可能的工作將幫助用戶瞭解它背後的概念的一個小說明。 – Prudhvi