SSHing into remote machine from terminal does ask for password, but through VS Code integrated terminal, it does, Why?
I’m working on a project where I have to run a python script which will open a tmux session with multiple windows, in each one ssh into a different remote machine, and run another python script. I’m new to both tmux and ssh and I was using VS Code’s built in terminal, which worked fine, up until I wanted to clear the tmux server. I manually ran tmux kill-server
to get rid of all the sessions and windows I had created. Upon running my python script again, I noticed that it hadn’t given an output like it usually did. I attached to the tmux session and I saw that when the script had tried to ssh onto the remote machine the terminal had returned: