From 3f3dbf414c5063bba8395999fed13ab1a2d75798 Mon Sep 17 00:00:00 2001 From: lash Date: Sun, 22 Sep 2024 16:13:30 +0100 Subject: [PATCH] Clarify keyfile use in readme --- cmd/ssh/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/ssh/README.md b/cmd/ssh/README.md index 071557b..3cffae1 100644 --- a/cmd/ssh/README.md +++ b/cmd/ssh/README.md @@ -8,14 +8,14 @@ An SSH server entry point for the vise engine. Map your (client) public key to a session identifier (e.g. phone number) ``` -go run -v -tags logtrace ./cmd/ssh/sshkey/main.go -i [--dbdir ] +go run -v -tags logtrace ./cmd/ssh/sshkey/main.go -i [--dbdir ] ``` ## Create a private key for the server ``` -ssh-keygen -N "" -f +ssh-keygen -N "" -f ``` @@ -23,12 +23,12 @@ ssh-keygen -N "" -f ``` -go run -v -tags logtrace ./cmd/ssh/main.go -h -p [--dbdir ] +go run -v -tags logtrace ./cmd/ssh/main.go -h -p [--dbdir ] ``` ## Connect to the server ``` -ssh -T -p +ssh -T -p -i ```