Remote bash function with ssh

from blog Hugues Blog, | ↗ original
Genesis Often when a shell command line start to become a little long, I like to break it down into functions. But things start to get complicated when it involve a remote host. It usually involve spawning a remote shell with ssh and then double escaping lot of characters (ssh and remote shell) in order to properly execute commands. Another...