Commit 1a8f7f54 by Fred Smith

update screenshot upload to use dedicated user

parent eb020943
......@@ -5,7 +5,7 @@
file_basename=$(basename $1)
notify-send "uploading $file_basename"
scpoutput=$(scp $1 io:/var/www/files.derf.us/)
scpoutput=$(scp -i ~/.ssh/files.derf.us.rsa $1 file-uploader@io:/var/www/files.derf.us/)
if [[ $? == 1 ]]; then
notify-send "upload failed $scpoutput"
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment