aboutsummaryrefslogtreecommitdiffstats
path: root/docs/executing_syzkaller_programs.md
diff options
context:
space:
mode:
authormusamaanjum <musamaanjum@gmail.com>2021-03-18 23:55:14 +0500
committerDmitry Vyukov <dvyukov@google.com>2021-03-18 21:31:11 +0100
commitd920d3c97626a140f49509d6492dd841e10d159c (patch)
treeb35022f568d45f6e11971c567db1769955aadf5d /docs/executing_syzkaller_programs.md
parentc3a46f82a5d142e1b7d228fe4be76c2cec0eb83f (diff)
docs: fix scp command in instructions
'scp' command needs 10022 port number specified to establish connection over which vm is listening. If it isn't specified, scp tries to connect over port 22 and connection fails. The other docs write machine as 'root@localhost'. Replace it here to avoid confusion. Collon is necessary at the end for the command to work.
Diffstat (limited to 'docs/executing_syzkaller_programs.md')
-rw-r--r--docs/executing_syzkaller_programs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/executing_syzkaller_programs.md b/docs/executing_syzkaller_programs.md
index 22763d8ce..747509f85 100644
--- a/docs/executing_syzkaller_programs.md
+++ b/docs/executing_syzkaller_programs.md
@@ -25,7 +25,7 @@ $ make
4. Copy binaries and the program to test machine (substitue target `linux_amd64`
as necessary):
``` bash
-$ scp bin/linux_amd64/syz-execprog bin/linux_amd64/syz-executor program test@machine
+$ scp -P 10022 -i stretch.img.key bin/linux_amd64/syz-execprog bin/linux_amd64/syz-executor program root@localhost:
```
5. Run the program on the test machine: