https://bugzilla.mindrot.org/show_bug.cgi?id=1585

--- Comment #19 from [email protected] ---
(In reply to andrew from comment #18)
> Is there a better way to trigger this than in .bashrc?

.bashrc is easy and convenient, but it's not safe. Simply put, how do
you guarantee that starting a terminal, `exec $ SHELL` or simply
running `bash` doesn't interfere with a background `ssh` process? You
should instead apply such changes at the *login* level, but that
depends on how you start a login session. I use ~/.xprofile
<https://github.com/l0b0/tilde/blob/2247c76e4851eff63643b31179c0b1ca97e995fb/.xprofile>,
but that may not be appropriate for you.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to