Hi All,
I want to upload file through SFTP in non interactive mode
on remote server. please tell me what will have to do in oreder to do SFTP .
Hi All,
I want to upload file through SFTP in non interactive mode
on remote server. please tell me what will have to do in oreder to do SFTP .
sftp uses the same protocol and authentication as ssh, so you can get noninteractive authentication working following this ssh tutorial.
Once you've done that, you can do something like this:
sftp username@host -b <<EOF
put filename
get filename
EOF