Live data from Hacker News

My weekend project: sbit3, a pastebin for files.

github.com

1–8 of 8 posts

Re: My weekend project: sbit3, a pastebin for files.

#2
I wrote this because I often need to get a file (e.g. a log file) from an internal system in production to my laptop. I would have to upload to an intermediate server and then have to log into the intermediate server to download my file. Now it's 'sbit3 file' and then I simply just curl the file down on my laptop.

Comments (and merge requests!) welcome. :) I'd also love to hear about what other use cases you guys can think of.

Re: My weekend project: sbit3, a pastebin for files.

#3
post #2

I wrote this because I often need to get a file (e.g. a log file) from an internal system in production to my laptop. I would have to upload to an intermediate server and then have to log into the intermediate server to download my file. Now it's 'sbit3 file' and then I simply just curl the file down on my laptop. Comments (and merge requests!) welcome. :) I'd also love to hear about what other use cases you guys can…

[deleted]

Re: My weekend project: sbit3, a pastebin for files.

#4
post #2

I wrote this because I often need to get a file (e.g. a log file) from an internal system in production to my laptop. I would have to upload to an intermediate server and then have to log into the intermediate server to download my file. Now it's 'sbit3 file' and then I simply just curl the file down on my laptop. Comments (and merge requests!) welcome. :) I'd also love to hear about what other use cases you guys can…

So it's SCP?

Re: My weekend project: sbit3, a pastebin for files.

#5
post #2

I wrote this because I often need to get a file (e.g. a log file) from an internal system in production to my laptop. I would have to upload to an intermediate server and then have to log into the intermediate server to download my file. Now it's 'sbit3 file' and then I simply just curl the file down on my laptop. Comments (and merge requests!) welcome. :) I'd also love to hear about what other use cases you guys can…

So it's SCP?

From reading it, not quite. There's no need for a name and password, and the file will auto-delete it self after some time. SCP won't let you delete, to my knowledge. You'd have to SSH in and delete it manually.

As with most small projects, this fulfills a very specific need for the creator. It lets them be more efficient by removing a small problem from their workflow.

Edit: Looks like the auto-delete isn't implemented yet, though.

Re: My weekend project: sbit3, a pastebin for files.

#6

Earlier quoted context omitted.

So it's SCP?

From reading it, not quite. There's no need for a name and password, and the file will auto-delete it self after some time. SCP won't let you delete, to my knowledge. You'd have to SSH in and delete it manually. As with most small projects, this fulfills a very specific need for the creator. It lets them be more efficient by removing a small problem from their workflow. Edit: Looks like the auto-delete isn't implemen…

ssh to server, tar files to stdout, local stdout to tar unpack? If you need a thirdparty server to transfer log files you are doing it wrong (and slow!)

Re: My weekend project: sbit3, a pastebin for files.

#7

Earlier quoted context omitted.

So it's SCP?

From reading it, not quite. There's no need for a name and password, and the file will auto-delete it self after some time. SCP won't let you delete, to my knowledge. You'd have to SSH in and delete it manually. As with most small projects, this fulfills a very specific need for the creator. It lets them be more efficient by removing a small problem from their workflow. Edit: Looks like the auto-delete isn't implemen…

That's more or less the idea, but sbit3 also allows you to easily share the file with others. If you need to share your file, just IM someone the link. At work, I'll often need to get a file to someone who doesn't have access to a server or I'll need to get a file to more than one person.

Re: My weekend project: sbit3, a pastebin for files.

#8
post #6

Earlier quoted context omitted.

From reading it, not quite. There's no need for a name and password, and the file will auto-delete it self after some time. SCP won't let you delete, to my knowledge. You'd have to SSH in and delete it manually. As with most small projects, this fulfills a very specific need for the creator. It lets them be more efficient by removing a small problem from their workflow. Edit: Looks like the auto-delete isn't implemen…

ssh to server, tar files to stdout, local stdout to tar unpack? If you need a thirdparty server to transfer log files you are doing it wrong (and slow!)

There are environments to which you can't directly SSH. Imagine that you had to SSH through a port-knocking single bastion server before you can reach actual production servers.