Skip to content

Commit 8757713

Browse files
committed
dummy-ssh-server.shにSSH接続の例を追加
1 parent b04f3ed commit 8757713

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dummy-ssh-server.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ if ! docker ps --format '{{.Ports}}' | grep -q 10022; then
77
docker run -d -p 10022:2222 -e PUBLIC_KEY="$(cat dummy.key.pub)" linuxserver/openssh-server
88
fi
99

10+
# ssh -p 443 -R0:localhost:10022 tcp@a.pinggy.io
1011
# ssh -o StrictHostKeyChecking=no -i dummy.key -p 10022 linuxserver.io@localhost

0 commit comments

Comments
 (0)