Max 的天空 / Max de Sky

Max 的天空 / Max de Sky

記錄個人的探索之旅

VS code 使用 Remote-SSH時遠端 .profile 沒有被執行的問題解決

使用 VS code - Remote-SSH, 在 Remote Host 會有 (.profile not being sourced in Integrated Terminal) 的問題.

如果你是在 remote host 使用 conda 時,在 integrated terminal 沒有 source .profile, 那便沒有辦法啟動虛擬環境

$ conda activate [virtualenv name]

解決方法在下面的 link.

remote-ssh: Add possibility to invoke a login shell