From 50401a9ec562069653e82f42ff68fac3ade36f89 Mon Sep 17 00:00:00 2001 From: Ryan Whitehurst Date: Mon, 19 Oct 2015 16:02:09 -0700 Subject: [PATCH] Use monospace font for commands in ssh.exe examples --- ssh.exe-examples.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ssh.exe-examples.md b/ssh.exe-examples.md index 80fdc99..c6d7959 100644 --- a/ssh.exe-examples.md +++ b/ssh.exe-examples.md @@ -1,18 +1,18 @@ ##### Login With Password: 1. Work Group Users: - * ssh.exe user@host + * `ssh.exe user@host` 2. Domain Users: - * ssh.exe -l user@domain host + * `ssh.exe -l user@domain host` ##### Login With Client Keys (key-based authentication) 1. Generate client authentication key - * ssh-keygen.exe -t rsa -f id_rsa -2. Copy id_rsa.pub (client's public key) to corresponding user's directory on ssh HOST - * as %systemdrive%\users\user\\.ssh\authorized_keys + * `ssh-keygen.exe -t rsa -f id_rsa` +2. Copy `id_rsa.pub` (client's public key) to corresponding user's directory on ssh HOST + * as `%systemdrive%\users\user\\.ssh\authorized_keys` 3. Login using private key - * ssh.exe -i .\id_rsa user@host (work group user) - * ssh.exe -i .\id_rsa -l user@domain host (domain user) + * `ssh.exe -i .\id_rsa user@host` (work group user) + * `ssh.exe -i .\id_rsa -l user@domain host` (domain user) ##### Remote Powershell over ssh Powershell can be launched over remote ssh session as follows: