如何使用腻子将“--noprofile”或“--norc”发送到 bash(在 Windows 上)

kis*_*rgy 3 bash login putty

如何禁用.bashrc.profile,当我登录到Linux用腻子从Windows?
(在* nix: ssh hostname "bash --norc --profile"

小智 7

您需要执行远程命令而不是登录并启动 shell。

连接 > SSH

远程命令:/bin/bash --noprofile --norc