ssh/sftp/telnet
recently, my school disabled the ability to telnet to remote computers in the CS department (which is a 20 minute walk from my house) but ssh and sftp is still working... so, i come to my question... i have to ssh to the computer to run a script with the argument of the file that needs to be submitted, but i first need to copy that file onto the computer. so i first sftp to the computer to copy it, then have to ssh to run the script. my question is, is there an easier way? is there a command in ssh to copy local files to the ssh'ed computer, or is there a way to run a script with sftp??
|