Skip to content

Commit 964d3a7

Browse files
authored
Merge pull request #3 from christian-korneck/master
Document some ssh problems/workarounds
2 parents 0ebf6f0 + 703a080 commit 964d3a7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,26 @@ See [Getting started](#getting-started).
214214
### "Port forwarding does not work"
215215
Privileged ports (0-1023) cannot be forwarded. e.g., you have to use 8080, not 80.
216216

217+
### error "field SSHPubKeys must be set"
218+
219+
Make sure you have a ssh keypair in `~/.ssh`. To create:
220+
```
221+
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa <<<n 2>&1 >/dev/null
222+
```
223+
224+
### error "hostkeys_foreach failed: No such file or directory"
225+
Make sure you have a ssh `known_hosts` file:
226+
```
227+
touch ~/.ssh/known_hosts
228+
```
229+
230+
### error "failed to execute script ssh: [...] Permission denied (publickey)"
231+
If you have a `~/.ssh/config` with a username overwrite for all hosts, exclude `127.0.0.1` from it. Example:
232+
```
233+
Host * !127.0.0.1
234+
User root
235+
```
236+
217237
### "Hints for debugging other problems?"
218238
- Inspect logs:
219239
- `limactl --debug start`

0 commit comments

Comments
 (0)