How To Run A Local Shell Script On A Remote Ssh Server
If you need to run a local shell script on a remote SSH server, there are a few things you need to take into account. First, make sure that the remote SSH server is configured to allow remote execution of shell scripts. To do this, open the SSH configuration file (usually located at /etc/ssh/sshd_config) and add the following line: AllowUsers yourusername %u .. The problem with running commands over SSH is that generally you either have to type them yourself or upload a script file....