Skip to content

Commit c7ff330

Browse files
linux-on-qemu: correct ssh port flag
Changed -P to -p since -p is correct flag for specifying the port.
1 parent 7806f61 commit c7ff330

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/linux-on-qemu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ Next we can copy the program to the QEMU platform using the `scp` command.
485485
scp -P 2222 hello virt@localhost:
486486

487487
# SSH to qemu to run the program
488-
ssh -P 2222 virt@localhost
488+
ssh -p 2222 virt@localhost
489489
./hello
490490
```
491491

@@ -494,7 +494,7 @@ Example session:
494494
```
495495
$ scp -P 2222 hello virt@localhost:
496496
hello 100% 11KB 1.2MB/s 00:00
497-
$ ssh -P 2222 virt@localhost
497+
$ ssh -p 2222 virt@localhost
498498
_ __ __
499499
| | /| / /__ / /______ __ _ ___
500500
| |/ |/ / -_) / __/ _ \/ ' \/ -_)

0 commit comments

Comments
 (0)