Bash script does not ssh all the entries of a csv file

前端 未结 3 1249
走了就别回头了
走了就别回头了 2020-12-21 18:12

I am trying to patch a bunch of CENT OS machines with the latest fix pack. I have the below bash script that takes csv file as a input which has the ip address and password

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-21 18:40

    You can pass ssh another -t to force pty allocation:

    ssh -t -t
    

提交回复
热议问题