I have multiple servers that I execute a command over SSH which does a git pull operation in a bash script. The format I use is:sshpass -p password ssh user@server 'cd /some/dir; sshpass -p password git pull origin master'The command is executed fine on all servers except one which executes it fine but never returns to my shell, I have to kill it manually CTRL+C which does not seem good because all servers execute and return normally. I tried:Restarting the sshd service on the server.Rebooting the server.ssh -t works fine but I want to fix this issue on that server since I'm not using it on the othersThank you very much.
SSH remote command not returning on a particular server
linux;ssh;remote