From 2d9d490f6610d3ec03c98d8df85da0a53ee64af3 Mon Sep 17 00:00:00 2001 From: rprieto Date: Sat, 1 Feb 2014 16:48:38 +1100 Subject: [PATCH] Fix SSH page format for syntax highlighting --- common/ssh.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/common/ssh.md b/common/ssh.md index 0722d6357..06efdcb02 100644 --- a/common/ssh.md +++ b/common/ssh.md @@ -1,12 +1,16 @@ -SSH, or Secure Shell, is a protocol used to securely log onto remote systems. -> a program used for logging or executing commands on a remote server. +# SSH + +> Secure Shell is a protocol used to securely log onto remote systems. +> It can be used for logging or executing commands on a remote server. - connecting to a remote server -`ssh username@remote_host` + +`ssh {{username}}@{{remote_host}}` - connecting to a remote server with specific port -`ssh username@remote_host` -P 2222 + +`ssh {{username}}@{{remote_host}} -P {{2222}}` - ssh tunneling -`ssh -D 9999 -C username@remote_host` -~ + +`ssh -D {{9999}} -C {{username}}@{{remote_host}}`