# Pastebin Eg0LOQ53 IPFS_HASH=`ipfs add -r -Q client` ipfs daemon & sleep 2 ipfs swarm connect /ip4/##.###.###.##/tcp/4001/ipfs/Qm[HASH] ssh -t ubuntu@18.204.178.7 \ -i /key.pem \ "su -c 'ipfs get $IPFS_HASH'; su -c 'ipfs pin add $IPFS_HASH'" wget http://##.###.##.##/ipfs/"$IPFS_HASH" rm -f $IPFS_HASH killall ipfs