|
I just use mRemoteNG
|
# ? Apr 9, 2022 23:08 |
|
|
# ? May 28, 2024 11:03 |
|
actual question: how do you have so many nowadays? i feel like actually sshing into the individual servers is just, less and less common nowadays, so figuring out the usecase im missing
|
# ? Apr 9, 2022 23:49 |
Lady Radia posted:actual question: how do you have so many nowadays? i feel like actually sshing into the individual servers is just, less and less common nowadays, so figuring out the usecase im missing still, after a quick check, more than half look like servers i still log into at least once every year i'm not sure how it's such a foreign concept to have lots of servers that you access
|
|
# ? Apr 10, 2022 00:00 |
|
Rufus Ping posted:Unsurprisingly it's all rigged up using horrific shell scripts https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion.html Poopernickel posted:It's actually not part of bash. Tab completion scripts are almost always packaged separately and aren't part of Bash at all. Bash knows how to execute an entry script function in response to a tab, and that's it. The rest is all external. well, terrible or not under the hood, I still enjoy it
|
# ? Apr 10, 2022 04:33 |
|
the correct way to implement command completion would be to embed an ELF note in the executable that indicates that it can complete its own commands and then exec the program passing it the arguments and the completion point
|
# ? Apr 10, 2022 04:40 |
|
Lady Radia posted:wait do y'all just memorize every hostname you have to SSH into or the stupidly long chain of commands to connect to random containers in k8s or your local docker cluster??? genuinely confused as to why y'all hate aliases like this why the gently caress would you need to connect to random containers the point is that they’re the nth modern reinvention of batch jobs, they have an input and an output and an error log and if something goes wrong you’re either doing development and can attach, or you’re doing forensics so you’re looking at the logs so you can reproduce and attach if you’re connecting to random containers you’re doing something wrong
|
# ? Apr 10, 2022 09:46 |
|
BlankSystemDaemon posted:a command completion system that i can't add things to on the fly because the system is incomprehensible is pointless to me I won’t lie, I was elated when Wilfredo managed to make tcsh the default shell on Mac OS X, it was my default until the need for a non-csh shell became overwhelming and I finally gave in and switched to zsh
|
# ? Apr 10, 2022 09:49 |
|
Lady Radia posted:but what if they dont use the same private/public keypairs?!?! I have a bit of stuff in my ~/.ssh/config (which IMO should be the default) telling ssh to look in ~/.ssh/hosts/ for a directory containing keys for the host I’m connecting to and also at my “global” keys so if I do need host-specific keys, I can just put them in a directory named for the host instead of updating my config—or point to another directory via a symlink, if necessary
|
# ? Apr 10, 2022 09:53 |
|
pseudorandom name posted:the correct way to implement command completion would be to embed an ELF note in the executable that indicates that it can complete its own commands and then exec the program passing it the arguments and the completion point no, it’d be for the executable to have a section that describes the command the executable represents and the arguments and parameters it takes—in both programmatic and human-readable ways—using a consistent and well-defined format then anything that wants to use the executable can read that metadata to construct its invocation, including interactive user prompts and online help (VMS), and possibly even noise words (TENEX) do it right and you can even allow syntax to differ based on the human language involved (AppleScript) with AppleScript you could flip a script from English to Japanese to French using a pop-up menu and it’d Just Work, the only things that wouldn’t change would be your own variable names, string literals, comments, etc.
|
# ? Apr 10, 2022 10:05 |
|
for the newbies the trick to distinguishing this thread from the average linux users slapfight is to look for the posts where people unironically express their love for systemd
|
# ? Apr 10, 2022 11:10 |
|
i just put the hostnames for the 1-2 things i ssh to frequently into /etc/hosts for everything else there's "k exec -it" also i keep one ssh private key per client machine and don't move them between machines
|
# ? Apr 10, 2022 11:18 |
|
Why the gently caress are you using ssh when Ansible exists?code:
|
# ? Apr 10, 2022 13:40 |
|
Why would anyone want to use a csh derivative?
|
# ? Apr 10, 2022 14:19 |
|
Mustache Ride posted:Why the gently caress are you using ssh when Ansible exists? ....... Ansible uses ssh..........
|
# ? Apr 10, 2022 17:42 |
lol linux users are a treasure
|
|
# ? Apr 10, 2022 17:45 |
|
eschaton posted:why the gently caress would you need to connect to random containers well yes, sshing to containers is explicitly because you're debugging something went wrong, that's the whole point????
|
# ? Apr 10, 2022 18:12 |
|
linux, trying to debug network egresses from my container: aw poo poo time to deploy a new image to log out the result of another network connection, if only i could go into the container and test a couple random curls
|
# ? Apr 10, 2022 18:13 |
|
i once again petition the mods to move this thread to shsc so we can start a new linux thread which consists entirely of misspellings of names of distros.
|
# ? Apr 10, 2022 18:45 |
|
Cybernetic Vermin posted:i once again petition the mods to move this thread to shsc so we can start a new linux thread which consists entirely of misspellings of names of distros. no
|
# ? Apr 10, 2022 18:47 |
|
Cybernetic Vermin posted:i once again petition the mods to move this thread to shsc so we can start a new linux thread which consists entirely of misspellings of names of distros.
|
# ? Apr 10, 2022 19:22 |
|
Uchintu u piece of poo poo
|
# ? Apr 10, 2022 19:25 |
|
wheres yourrr red hat hat
|
# ? Apr 10, 2022 19:26 |
Lady Radia posted:linux, trying to debug network egresses from my container: aw poo poo time to deploy a new image to log out the result of another network connection, if only i could go into the container and test a couple random curls
|
|
# ? Apr 10, 2022 22:17 |
|
Cybernetic Vermin posted:i once again petition the mods to move this thread to shsc so we can start a new linux thread which consists entirely of misspellings of names of distros. no
|
# ? Apr 10, 2022 22:25 |
|
BlankSystemDaemon posted:i thought the devops meme was simply to throw away all errors and restart the instance, because everything boots so quick now lol i mean. whatever works in prod tbqh.
|
# ? Apr 10, 2022 22:59 |
Lady Radia posted:lol i mean. whatever works in prod tbqh.
|
|
# ? Apr 10, 2022 23:01 |
|
BlankSystemDaemon posted:i thought the devops meme was simply to throw away all errors and restart the instance, because everything boots so quick now this IS a thing and its also my 24/7 living nightmare. if the containers are throw away then the cloud providers treat the hardware they run on like its throw away too. so there is loads of subtly underperforming hardware out there that customers are likely to end up on. constantly I’m pulled into issues that tend to center around mild packet loss and lovely application code not taking that into account so minor packet loss turns into multi second long delays in processing requests im usually paged with “its slow” and by this point people have been restarting containers at random for days before throwing their hands up and escalating.
|
# ? Apr 10, 2022 23:03 |
|
i think there's something horrifying about the internalized "just always retry your network calls, who KNOWS what can happen" that's become standard
|
# ? Apr 10, 2022 23:04 |
yummycheese posted:this IS a thing and its also my 24/7 living nightmare. if the containers are throw away then the cloud providers treat the hardware they run on like its throw away too. so there is loads of subtly underperforming hardware out there that customers are likely to end up on. dtrace has been working on solaris for decades and for freebsd since 2007
|
|
# ? Apr 10, 2022 23:08 |
|
yea the “who cares, just retry” logic is cool when there might be a thousand containers all with the same bad retry logic code deployed to prod Then when some service sees a problem it efficiently gets ddos’ed by the fleet because you can just rapidly retry if doesn’t respond immediately right???
|
# ? Apr 10, 2022 23:09 |
|
Lady Radia posted:well yes, sshing to containers is explicitly because you're debugging something went wrong, that's the whole point???? are you .,.. actually sshing to the container? as in it is running ssh? if you live in a normal world you exec into the container either from the host it’s running on or preferably remotely using kubectl
|
# ? Apr 11, 2022 00:24 |
|
my homie dhall posted:are you .,.. actually sshing to the container? as in it is running ssh? this is some "beep boop i am incapable of nuance or parsing context" level posting lmao
|
# ? Apr 11, 2022 00:28 |
|
i did however have a colleague who built a db2 container with sshd set up (it's just a scratch db for tests and the test automation needs to ssh into the db2 "machine" for a reason i don't know of)
|
# ? Apr 11, 2022 00:31 |
|
my homie dhall posted:are you .,.. actually sshing to the container? as in it is running ssh? carry on then posted:this is some "beep boop i am incapable of nuance or parsing context" level posting lmao sorry friend i will be more clear in the future. namaste
|
# ? Apr 11, 2022 00:45 |
|
carry on then posted:this is some "beep boop i am incapable of nuance or parsing context" level posting lmao I’m a goon and a yosposter, what do you expect but also I’ve seen this before on more than one occasion
|
# ? Apr 11, 2022 00:57 |
|
anyway "legacy servers" being the answer to the weird ssh behavior (weird because i don't like it!!!) makes sense. ive been using mac server (vm) a bit at work to try to get a build machine for our mobile devs going recently, and i have to say it, weirdly enough, makes me miss linux.
|
# ? Apr 11, 2022 01:05 |
|
yummycheese posted:this IS a thing and its also my 24/7 living nightmare. if the containers are throw away then the cloud providers treat the hardware they run on like its throw away too. so there is loads of subtly underperforming hardware out there that customers are likely to end up on. Just build that understanding into your application. You should be able to run it on a potato. Backblaze is good evidence that consumer-grade hardware with redundancy is cheaper than enterprise-grade hardware.
|
# ? Apr 11, 2022 02:31 |
|
my homie dhall posted:I’m a goon and a yosposter, what do you expect funy containre
|
# ? Apr 11, 2022 02:34 |
|
xtal posted:Just build that understanding into your application. You should be able to run it on a potato. Backblaze is good evidence that consumer-grade hardware with redundancy is cheaper than enterprise-grade hardware. it is unfortunate that there is no market for reliable hard drives any more. price insensitive users use ssds. price sensitive users throw redundancy at the problem.
|
# ? Apr 11, 2022 03:13 |
|
|
# ? May 28, 2024 11:03 |
|
Sapozhnik posted:sorry to hear about your neuro-motor issues but please try to avoid using slurs in the future, namaste In all sincerity thanks for calling me out on that - I didn't think using that word through here, and am lucky enough to not bare the weight of what it alludes to. I'll do better not to use it in the future. But yeah, anyways, I try use aliases sparingly because I don't want to end up hard coding them into something I want to share outside of one of my machines, but for system maintenance and such I really prefer some systemd commands to be shortened.
|
# ? Apr 11, 2022 04:52 |