aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--AUTHORS1
-rw-r--r--docs/executing_syzkaller_programs.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 61d0c83d0..e6f632128 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -43,3 +43,4 @@ Heyuan Shi
Christian Brauner
Johannes Wellhöfer
Microsoft Corporation
+Muhammad Usama Anjum
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: