From 713ac631f51c4c9853cdd0ed1df2d4d5014d8461 Mon Sep 17 00:00:00 2001 From: manojampalam Date: Sun, 15 May 2016 13:46:59 -0700 Subject: [PATCH] Updated ssh.exe examples (markdown) --- ssh.exe-examples.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ssh.exe-examples.md b/ssh.exe-examples.md index ffe9f5b..af21e3a 100644 --- a/ssh.exe-examples.md +++ b/ssh.exe-examples.md @@ -9,9 +9,12 @@ 1. Generate a key pair on the client: * `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 +2. Register private key with ssh-agent (for single sign-on experience) + * `net start ssh-agent` + * `ssh-add id_rsa` +3. 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 +4. 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)