如何在 fish shell 中传递文件变量的内容
how to pass content of file variable in fish shell
我想使用 .pem
进行安全 ssh
连接,那么如何将 pem 的内容传递给 fish 脚本中的变量?
set key /Users/mesutgunes/project/mproject-key.pem
ssh -i (cat $key) labs[1] ???
设置环境值。
set file /Users/mesutgunes/project/mproject-key.pem
ssh -i $file host
问候
我想使用 .pem
进行安全 ssh
连接,那么如何将 pem 的内容传递给 fish 脚本中的变量?
set key /Users/mesutgunes/project/mproject-key.pem
ssh -i (cat $key) labs[1] ???
设置环境值。
set file /Users/mesutgunes/project/mproject-key.pem
ssh -i $file host
问候