lima
lima copied to clipboard
Document usage of ~/.lima/NAME/ssh.config
Description
Users should add this to their ~/.ssh/config:
Include ~/.lima/*/ssh.config
To be able to connect to the lima instances with the ssh command:
ssh lima-{NAME}
See more useful examples in https://github.com/lima-vm/lima/issues/3613#issuecomment-2949736880
We mention ssh.config here: https://lima-vm.io/docs/usage/
Another example:
rsync -a -e ssh . lima-default:/tmp/repo
Depending on the rest of your ssh config, you might have to include:
Match all
Include ~/.lima/*/ssh.config
i.e. if you had already some Host entries in the file, since before...
Other scenarios, for the lima documentation:
- https://github.com/lima-vm/lima/discussions/1890 - VSCode
- https://github.com/lima-vm/lima/discussions/3605 - Ansible
sftp sftp://lima-almalinux-10(from issue 852) - EDIT: maybe not filezilla: https://trac.filezilla-project.org/ticket/8450sshfs lima-almalinux-10: /tmp/alma- Note: sshfs has some issues on non-Linux platforms, like macOS or Windows