↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When | |
---|---|---|---|
*** | dne_ is now known as dne | [02:45] | |
.................................................................... (idle for 5h35mn) | |||
mkb_ is now known as mkb | [08:20] | ||
.................................................................. (idle for 5h25mn) | |||
jlgaddis has quit IRC (Ping timeout: 244 seconds) | [13:45] | ||
........................... (idle for 2h11mn) | |||
SpaceDum1 has quit IRC (Remote host closed the connection) | [15:56] | ||
................... (idle for 1h32mn) | |||
mnathani_ | awfully quiet in here | [17:28] | |
brycec | Speaking of... Anybody heard from up_the_irons2 lately?
I realize he's probably busy, but I put in a ticket (non-urgent, granted) a few days ago without anything more than the autoresponse. | [17:32] | |
Thanks mercutio
(at least I think Ben = mercutio. I could be wrong) | [17:42] | ||
..... (idle for 24mn) | |||
m0unds | yea, i think so | [18:06] | |
brycec | Google says I'm right
(thanks to a TCL issue last year) | [18:10] | |
.... (idle for 19mn) | |||
mercutio | damnit, how am i meant to hide? :)
up the irons has been on holiday, but around reasonably often just briefly | [18:29] | |
brycec | mercutio: that slacker!
But again, thanks :D | [18:30] | |
mercutio | yeh i saw it and it didn't look urgent | [18:30] | |
brycec | I've seen Ben=mercutio somewhere else in the past... Twitter or similar probably
And yeah, wasn't urgent I'm thinking about upgrading zeit to Jessie... Can't really think of a reason /not/ to | [18:30] | |
mercutio | it's unlikely to break
a reason not to is that it's working fine atm | [18:32] | |
brycec | heh
Yeah I've done a number of successful Jessie upgrades on headless systems, I'm pleased and impressed. And yeah it's working. and even receiving security updates. I just hate it falling "behind" brycec wonders when oldstable stops receiving updates | [18:32] | |
mercutio | resources i suspect | [18:39] | |
.............. (idle for 1h9mn) | |||
kellytk | Is anyone aware of a tool that would allow me to sync local files over SSH, and upon completion run a script on the server? | [19:48] | |
brycec | rsync && ssh server script.sh | [19:54] | |
kellytk | brycec: What do you mean by "ssh server script.sh"? | [19:59] | |
...... (idle for 25mn) | |||
brycec | I mean something like "ssh $MyServerThatIWantToRunAScriptUpon /path/to/some/script/i/want/to/run.sh"
If you're not aware, ssh(1)'s basic syntax is ssh [options] <host spec> [command to run on remote host] | [20:24] | |
kellytk | That's nice. I had only been thinking of it as session-oriented
Thank you | [20:27] | |
.......... (idle for 49mn) | |||
mnathani_ | brycec: would /path/to/some/script/i/want/to/run.sh exist on the local machine or on the remote one we are logging into with ssh? | [21:16] | |
mike-burns | Remote. | [21:17] | |
mnathani_ | thought so, but wasn't sure | [21:18] | |
mercutio | you could do cat /usr/local/bin/localscript.sh | ssh server sh
but yeah remote :) | [21:24] | |
................... (idle for 1h32mn) | |||
mnathani_ | mercutio: would that even work
wouldnt the contents of localscript be sent to ssh command rather than the sh I should try it | [22:56] | |
brycec | mnathani_: Yes it does work
It sends the contents of the file to stdin of sh running on the remote server You can do the same thing with anything else... Like tar :D tar -c some files etc | ssh server "tar -x -C /some/dir/" Or your can dd dd if=/dev/drive | ssh server "cat > myfile.img" no disk space required on the originating machine Or better still, use compression of your choice! (and not just ssh's UseCompression option) dd if=/dev/drive | gzip -9 | ssh server "cat > myfile.img.gz" (there are plenty more Stupid SSH Tricks, but these are the simpler/most obvious/most useful, I think) The key here is that anything you can do with a pipe on the local machine "dd file | cat > blah.img" you can do over ssh | [23:00] | |
mercutio | what bryce said
except gzip -9 is pointless if you want high compression use something better than gzip. i've recently start using xz with -1 to -3 | [23:17] | |
brycec | mercutio: It was for illustrative purposes ;) gzip is well-known and recognized. | [23:19] | |
mercutio | ahh | [23:19] | |
brycec | (I figured if they didn't know about this use of ssh, they might not know bzip2, xz, etc) | [23:20] | |
mercutio | i reckon it's so cool the way lz4 has been progressing
it kind of came out of nowhere. and blew everything else away for performance. with acceptable compression ratios for a lot of use cases. and now they're still making it fsater. and the author is doing a higher compression slower one that's still faster than zlib his blog is really good too
| [23:20] | |
*** | djkrikke-2 has quit IRC (Ping timeout: 264 seconds) | [23:32] | |
mnathani_ | thanks brycec, mercutio | [23:40] | |
brycec | np | [23:40] | |
mnathani_ | I had no idea that ssh was so versatily
s/versatily/versatile | [23:41] | |
BryceBot | <mnathani_> I had no idea that ssh was so versatile | [23:41] | |
mnathani_ | once again this channel never ceases to amaze me. (learned a lot idling in here) | [23:41] | |
.... (idle for 18mn) | |||
kellytk | Can someone think of a feature that makes sense for a VPS yet not for a dedicated server or vice versa? | [23:59] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |