diff --git a/honeypot/ssh/server.go b/honeypot/ssh/server.go index d537b6f..9d1c801 100644 --- a/honeypot/ssh/server.go +++ b/honeypot/ssh/server.go @@ -122,7 +122,6 @@ func (s *HoneypotServer) connCallback(ctx sshlib.Context, conn net.Conn) net.Con throttledConn := newThrottledConn(conn) throttledConn.SetSpeed(s.throttleSpeed) ctx.SetValue("uuid", throttledConn.ID) - throttledConn.SetSpeed(s.throttleSpeed) return throttledConn }