How to use wandb on SSH Remote?

I am currently using Remote - SSH plugin in VSCode.

My problem is that when using wandb.init(). It will automatically forward port to my local machine, using my local network. However, I want to use the server to connect to wandb. What can I do to solve this?