diff --git a/base/ssh/connect.go b/base/ssh/connect.go index cb4f8af1..fe9c0dc3 100644 --- a/base/ssh/connect.go +++ b/base/ssh/connect.go @@ -18,6 +18,7 @@ import ( "os" "path" "strings" + "time" ) func _ssh_tick(m *ice.Message, pw io.Writer) { @@ -27,7 +28,7 @@ func _ssh_tick(m *ice.Message, pw io.Writer) { m.Go(func() { for { m.Sleep(m.Option("tick")) - pw.Write([]byte("# " + m.Time() + "\n")) + pw.Write([]byte("# " + time.Now().Format(ice.MOD_TIME) + "\n")) } }) }