![]() This allows just replacing the first two letters in the ssh command to convert it to the xxh command. Why the plus sign for the xxh arguments? The xxh is using the plus sign for xxh arguments to preserve the ability to use the minus sign for the original ssh arguments. Xxh anyhost # Connect to the host xxh -i id_rsa -p 2222 anyhost # Using ssh arguments: port and key xxh +c et # Using EternalTerminal () xxh anyhost +s zsh +i # Set the shell and install it without yes/no question xxh anyhost +s xonsh +hhh "~" # Set /home/user as home directory (read Q&A) xxh anyhost +s bash +I xxh-plugin-bash-vim # Preinstall a plugin xxh anyhost +if +q # Force reinstall xxh on the host in quiet mode xxh anyhost +hh /tmp/xxh +hhr # Upload xxh to /tmp/xxh and remove when disconnecting source xxh.zsh anyhost +I xxh-plugin-zsh-ohmyzsh # Connect in seamless mode with ohmyzsh plugin xxh local +s xonsh # Experimental: build xxh environment inplace and without sshįor reusing arguments and simplifying xxh usage (like shortening to xxh anyhost), there is a config file. Use xxh instead of ssh when connecting to Linux hosts without changing ssh arguments: There is cookiecutter template to create a prerun plugin. Pinned plugins: core (xxh-sudo, xxh-screen, xxh-tmux), dotfiles, docker, python, xxh, vim, zoxide, starship. Prerun plugins allow you to bring any portable tools, dotfiles, or aliases to your xxh session before running the shell. Search xxh shell on Github or Bitbucket or create your shell entrypoint to use another portable shell. ShellsĬurrently supported OS for the target host is Linux on x86_64. To run AppImage on Alpine Linux install alpine-pkg-glibc with localedef. Choose your current shell based on the task you want to solve: xxh anyhost +s xonsh for a Python environment, osquery for simple querying, fish for modern features or time-tested zsh and bash for speed. Switching shells is as easy as possible and you don't have to be locked in to one shell. If you want to run browsh on the remote host, just put its portable version as an entrypoint in the xxh-shell.Ĭhameleon. Any type of tool or code could be behind an entrypoint. The xxh packages are not only about shells. Five shells are currently supported and more could be added by the community.ĭo more. Every xxh repo could be forked, customized, and reused without waiting for a package management system, xxh release, or any third party packages. Following privacy and repeatability practices, the best way is to fork the xxh plugin or shell example and pack your configs into it.īe open and fork-ready. No blindfolded copying config files from local to remote host. xxh directory and you can choose the hermetic level of your xxh session.Ĭareful. Deleting the ~/.xxh directory from the remote host will make the remote environment function as if xxh was never there. Security and host environment are a prime focus. ![]() ![]() No installations or root access on the host required. Preparing portable shells and plugins occurs locally, and then xxh uploads the result to the host. If you like the idea of xxh click ⭐ on the repo and tweet about it. Xonsh shell, fish, zsh, osquery and so on. The mission of xxh is to bring your favorite shell wherever you go through ssh without root access or system installations. You stuffed your command shell with aliases, tools, and colors but you lose it all when using ssh. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |