[00:03] hm, seems both work indeed, even if the manpage indicates otherwise... [00:04] it's how I have been doing it for years [00:04] more specifically, ssh 'command; command2; command3; command4' [00:05] I wonder if this can be abused... [00:06] because it doesn't do what the manual says... [00:06] well, it says command arguments ... [00:07] I never had that work for me atleast, and have always used '' around it instead [00:08] well, the most blatant abuse like all things, is someone passing things to ssh command like [00:08] oh, wait, the manpage does say it can work like that: """A complete command line may be specified as command, or it may have additional arguments.""" [00:08] instead of sql injection, ssh shell injection [00:09] it's ambiguous at best, because it assumes command names can't have spaces in them :) [00:13] from what I understand it would execute «ssh 'ls -l' -a» as if you would use «ssh 'ls -l -a'» or «ssh ls -l -a» [00:14] the manpage says it appends arguments with spaces to command and sends it all as a single string [00:14] so 'ls -l -a' [00:15] but all three supposedly do the same [00:15] yes, my issue mostly was the ; [00:16] I would use sh -c or something like that if I wanted to run multiple commands (or a shell script, of course) [00:27] ya, the point normally of this is I dont want to remotely load a shell script [00:28] normally it is to login, update docker containers, to update a package/file, restart the service [01:40] FWIW, you can also do: ssh command ';' command2 ';' command3 ';' command4 [01:40] and other weirdness [01:45] like: ssh command ';' command2 '; command3 ;' command4 === chris14_ is now known as chris14 [04:09] does anyone know the answer or did i miss it? [04:10] i don't get an error but when i check the history, it has not been cleared [05:06] did you try to do the same in an interactive session? [05:09] might be useful to look at the 'histappend' shell option also, or check what $HISTFILE gives [19:27] monthly reminder that THERE USED TO BE NOTHING WRONG WITH THE DEBIAN-INSTALLER [19:27] https://i.imgur.com/SvqMfSb.png [19:27] piece of trash subiquity === synapt is now known as nate [22:43] thou shalt not DHCP [22:44] indeed, no duso while drunk [22:44] *hips* [22:44] sudo [22:45] znf, selected wrong network adapter as base [22:45] oerheks, uhm? no, it selected the proper one, considering I'm PXE-ing