bash中ssh -n的作用

在 SSH 连接中禁止从标准输入读取数据

主要在while 搭配read -r的语句中,防止后续行的数据被ssh读取

 

posted @ 2025-04-27 15:15  小鱼圆又圆  阅读(54)  评论(0)    收藏  举报