ssh命令輸入問題(-n選項做用)

 【問題介紹】ssh 下面這個腳本,老是執行一次就退出循環體ide # cat test.sh  while read line  do         echo $line         ssh -i SSHKey 10.204.188.3 'date' done << EOF 1 2 3 4 5 EOF 輸出工具 # ./test.sh 1 Tue Nov 5 14:55:17 JST
相關文章
相關標籤/搜索