Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
检查sshing到计算机后运行的所有脚本_Ssh_Zsh - Fatal编程技术网

检查sshing到计算机后运行的所有脚本

检查sshing到计算机后运行的所有脚本,ssh,zsh,Ssh,Zsh,有没有一种方法可以检查我在ssh连接到机器时运行的所有内容 不知何故,当我使用ssh时,它以zsh开始,这是我的默认shell,但后来更改为fish shell。想要找出调用鱼壳的位置并删除该行。Yan可以在各种zsh启动脚本~/.zprofile,~/.zshrc中很早添加set-vx。如果切换到fish的时间更早,对/etc中的zsh启动脚本尝试相同的方法

有没有一种方法可以检查我在ssh连接到机器时运行的所有内容


不知何故,当我使用ssh时,它以
zsh
开始,这是我的默认shell,但后来更改为fish shell。想要找出调用鱼壳的位置并删除该行。

Yan可以在各种
zsh
启动脚本
~/.zprofile
~/.zshrc
中很早添加
set-vx
。如果切换到
fish
的时间更早,对
/etc
中的zsh启动脚本尝试相同的方法