about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-05-22 09:56:01 +0200
committerEmile <hanemile@protonmail.com>2019-05-22 09:56:01 +0200
commit742da15f799ef68b3e59d41b71f1d25e0126cf42 (patch)
tree0fa90e7e92255f675f765b4391c1269f8f8de6d2
parent91832fcae31d8109e8442b491ade00796cf5c5da (diff)
update
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 218098a..abe0710 100644
--- a/main.go
+++ b/main.go
@@ -39,7 +39,7 @@ func main() {
     // start the ssh server
     log.Println("Starting SSH listener")
     go func() {
-        listenErr := ssh.ListenAndServe(":22", nil, ssh.PasswordAuth(handlePass))
+        listenErr := ssh.ListenAndServe(":2222", nil, ssh.PasswordAuth(handlePass))
         if listenErr != nil {
             log.Fatalln(listenErr.Error())
         }