close

ssh -t remote_machine "echo \"test the string: ok\" | awk '{print \$2}' "

 

https://unix.stackexchange.com/questions/336374/getting-user-input-from-script-used-as-stdin-for-ssh-session

arrow
arrow
    全站熱搜

    JohnDX 發表在 痞客邦 留言(0) 人氣()