Use monospace font for commands in ssh.exe examples

Ryan Whitehurst 2015-10-19 16:02:09 -07:00
parent 29ebf0d26e
commit 50401a9ec5

@ -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: