#arpnetworks 2015-07-31,Fri

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***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]
brycecSpeaking 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)
m0undsyea, i think so [18:06]
brycecGoogle says I'm right
(thanks to a TCL issue last year)
[18:10]
.... (idle for 19mn)
mercutiodamnit, how am i meant to hide? :)
up the irons has been on holiday, but around reasonably often
just briefly
[18:29]
brycecmercutio: that slacker!
But again, thanks :D
[18:30]
mercutioyeh i saw it and it didn't look urgent [18:30]
brycecI'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]
mercutioit's unlikely to break
a reason not to is that it's working fine atm
[18:32]
brycecheh
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]
mercutioresources i suspect [18:39]
.............. (idle for 1h9mn)
kellytkIs 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]
brycecrsync && ssh server script.sh [19:54]
kellytkbrycec: What do you mean by "ssh server script.sh"? [19:59]
...... (idle for 25mn)
brycecI 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]
kellytkThat'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-burnsRemote. [21:17]
mnathani_thought so, but wasn't sure [21:18]
mercutioyou 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]
brycecmnathani_: 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]
mercutiowhat 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]
brycecmercutio: It was for illustrative purposes ;) gzip is well-known and recognized. [23:19]
mercutioahh [23:19]
brycec(I figured if they didn't know about this use of ssh, they might not know bzip2, xz, etc) [23:20]
mercutioi 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
http://fastcompression.blogspot.com/
[23:20]
***djkrikke-2 has quit IRC (Ping timeout: 264 seconds) [23:32]
mnathani_thanks brycec, mercutio [23:40]
brycecnp [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)
kellytkCan 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)