« first day (2115 days earlier)      last day (1385 days later) » 

9:16 PM
I want my bashrc settings to be persisted across ssh.
 
@goodguy5 What do you mean exactly? Like, between SSH sessions, or like if you tunnel from one ssh connection to another?
 
I have a bunch of settings in my bash profile.

We use a jump box to get to various servers.

I want to persist those settings without copying y bashrc to each box
 
GcL
@goodguy5 Do you have a subset of the things you'd like in a shell script? or is your entire bashrc fair game?
 
the whole thing, I think
 
GcL
Is pushing the bashrc file to the remote okay if you don't have to do it manually?
 
9:26 PM
less than ideal, but possible
 
GcL
ssh user@host 'bash -s' < ~/.bashrc works and doesn't push the file, but my colleague is giving me a dirty look.
How many remotes do you have to administer or log into?
 
at least 3
Though you using the words "colleague" and "administer" reminds me that I can ask IT if they have a solution.
 
GcL
They might have a location that gets dist out the home directories. We used to do that kind of thing for the devs.
 
in our legacy boxes we did, but the new platform doesn't have anything similar setup
 
GcL
Alternatively, you can define an alias or function to run rsync before ssh. Basically rsync --ignore-existing /home/username/.bashrc user@host:/home/username/.bashrc; ssh user@host
Which just copies your bashrc over to the host if it's not there before running ssh.
Kind of a kludge, but would get the job done. I'd call it sssh, because apparently that's "Using ssh like a sausage".
I don't know what that means either, but being a sausage probably isn't good.
 
9:38 PM
it's a tube that you stuff everything into, I dig it
thanks!
 
GcL
rsync --ignore-existing test.sh ec2-user@biggins:/home/ec2-user/test.sh ; ssh ec2-user@biggins
yeah it works for me.
 
alright, thanks. I think I have enough between here and things on the stack to get it working at least partly how I want.
 
10:10 PM
So I've spent the last 15 years of my life with a song from my early toddlerhood flitting in and out of my head, and I've only FINALLY figured out that it was Sesame Street's rendition of the song "Green Grow the Rushes, O" repurposed to teach how to count, and the amount of mental burden that has just been lifted from me is incalculable.
 
1 2 3 4 5 6 7 8 9 10 11 12!
 
@G.Moylan This rendition only goes up to 5 though. 🤣
Seriously though, for a literal decade and a half I've been so baffled, like "what the **** is this song??? Like, I know it's a children's song, because duh, and I can perfectly reproduce the melody but all the services to search based on me tone-deafly humming into my microphone can't find it, and I can't search for the lyrics because I'm pretty sure I misremembered half of them, and...."
It...
It has been a struggle.
 
user15026
But it is a struggle no longer!
 
@Xirema I had that exact experience, except with Kodachrome. Turns out my mum played it on the piano a lot when I was a kid.
The pure relief when I finally heard the song and understood was indescribable.
 
10:26 PM
I don't know if I have anything like that.

Though, I thought it was "Man on the Run" instead of "Band on the Run" for like 25 years.
I actually do have something not dissimilar: My uncle described this foreign film he saw one night to me, in extreme detail.

And I cannot, for the life of me, find any trace of this movie ever existing. I think I've asked about it in chat.
 
I've had mini versions of this happening my whole life
"what is this song I have stuck in my head with little or no lyrics but a definite tune?"
I usually find out within the same couple hours or forget it
ok maybe my whole life is an exageration
more like the past 2 or 3 years
and not thaaaat often
 
user15026
I have this with lots of things - I tend to echo stuff I've heard, phrases and stuff, in the same intonation I heard it in (regardless if that intonation makes sense for the phrase I am using it in), which gets fun
 
XD
but it's definitely happened
 

« first day (2115 days earlier)      last day (1385 days later) »