sftp

Shell Script: SFTP a File Programming

Shell Script: SFTP a File

Sometimes instead of executing a built in command on a remote system you need to upload a script that you will need to execute.  Again a simple expect script comes to our rescue to upload a file to a remote system. #!/usr/bin/expect -f set user …