Getting inside
hobo ssh logs in, hobo exec runs a command and exits with its status, and hobo cp copies
files either way. There are no keys or IP addresses to look up: hobo knows each VM’s address and
logs in with hobo’s own well-known key. Host folders can be shared into the guest, read-only if you like.
$ hobo exec dev -- uname -aLinux dev 7.0.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 4 09:28:02 UTC 2026 aarch64 GNU/Linux
$ hobo cp ./notes.txt dev:/tmp/$ hobo ssh devSSH
hobo ssh dev # a login shellhobo ssh dev -- uptime # a command insteadhobo ssh dev --print # the ssh command line, to use elsewherehobo ssh runs the system’s ssh as the hobo user, so the session, the exit status and any
command behave just as plain ssh does. --print gives a command line you can paste into scripts,
IDEs or rsync -e.
Run commands
hobo exec dev -- make testhobo exec dev -- sh -c 'cd /src && make test | tee test.log'hobo exec win -- powershell.exe -Command 'Get-Process | Select-Object -First 5'- The command runs as
hobo, without stdin or a terminal, andhobo execexits with its status, so it fits in scripts and CI. - Its arguments are quoted for the guest’s shell. For pipes and redirection, run a shell
yourself:
sh -c '…', orpowershell.exe -Command '…'on Windows. - It returns when the command exits. A process the command left running in the background
keeps running, so
hobo exec dev -- sh -c 'server >server.log 2>&1 &'starts a server and comes straight back. What such a process writes to the command’s own output after that is dropped, so send its output to a file. --guiruns the command in the desktop session instead. See Screenshots and GUI testing.--jsonprints{"exitStatus": …}and sends the command’s output to stderr.
Copy files
hobo cp ./app.zip dev:/tmp/ # host to guesthobo cp dev:/var/log/system.log . # guest to hosthobo cp ./build dev:/Users/hobo/ # a directory, with everything in itOne side names the guest as <vm>:<path>, and a guest path that is relative, or starts ~/, is
from the hobo user’s home, as it is for hobo rm. Paths are placed as scp places them: a
source goes inside a destination directory that exists, under its own name, and otherwise becomes
the destination itself. Unlike scp, one directory onto a directory of its own name is that
directory, so ./MyApp.app onto dev:/Applications/MyApp.app lands on the old MyApp.app, not
inside it (end the destination in / to copy into it). And the directories above a destination
are made if they aren’t there, in the guest or on the host, so
hobo cp ./x.plist dev:Library/LaunchAgents/x.plist works on a fresh guest.
Copying onto a directory that is already there merges into it, so files the new copy doesn’t have
stay. --replace removes whatever each source would land on first. Neither ever puts a file where
a directory is, or a directory where a file is: that copy fails and changes nothing. A copy that
worked prints one line, Copied ./build/MyApp.app to dev:/Applications/.
hobo cp --replace ./build/MyApp.app dev:/Applications/ # no leftovers from the old MyApp.apphobo cp --replace ./build/MyApp.app dev:/Applications/MyApp.app # the sameRemove files
hobo rm dev:/tmp/app.zip dev:/Users/hobo/build # a directory goes with everything in ithobo rm -f dev:/tmp/maybe-there # no failure if it's already gonehobo rm removes files and directories inside a VM, never the VM itself: that is hobo delete.
Every path names the guest as <vm>:<path>, and a relative one, or one starting ~/, is from the hobo user’s home.
It won’t remove /, the home directory or what holds it. A removal that worked prints one line,
Removed dev:/tmp/app.zip.
Share folders
hobo set dev --share ~/src # every starthobo set dev --share ~/data:ro # read-onlyhobo start dev --share ~/scratch # this run onlyhobo set dev --unshare srcA shared folder appears in the guest at:
| Guest | Path |
|---|---|
| macOS | /Volumes/My Shared Files/<folder> |
| Linux | /mnt/hobo/<folder> |
| Windows | Z:\<folder> |
hobo set needs the VM stopped. --unshare runs before --share, so
hobo set dev --unshare src --share ~/src:ro makes a share read-only.
The VM’s address
$ hobo ip dev192.168.64.6Every VM is on macOS’s shared NAT network: it reaches the internet and the host, and the host reaches it at that address.