preventing ssh command from opening xquartz on every session
Solved by myself. XQuartz installation added a custom configuration for ssh in etc/ssh_config. I have just removed ForwardX11 yes and ssh won't open XQuartz anymore.