diff --git a/README.md b/README.md
index e8f695b8ad448c2640ec01647579b6b6ad4a1c8e..660324b47bf378e4f36d778a372d5d4647df43e9 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ A small, but tedious, amount of work is required to implement a full connection-
 
 ### Hello SSH
 
-```
+```golang
 package main
 
 import "go.step.sm/sshutil"
@@ -51,8 +51,7 @@ Server closed remote connection to localhost.
 The default session handler is an echo server.
 Easily configure a persistent host key.
 
-```
-
+```golang
 package main
 
 import (