# TOTP SSH port fluxing

DevFeed: [TOTP SSH port fluxing](<https://devfeed.tech/articles/totp-ssh-port-fluxing-41638.md>)

Original publisher: [Read original article](<https://blog.benjojo.co.uk/post/ssh-port-fluxing-with-totp>)

Author: ben@benjojo.co.uk

Published: 2016-05-22T19:23:39Z

Content type: tutorial

Language: en

Sources: [Benjojo](<https://devfeed.tech/sources/benjojo-blog.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [OpenSSH](<https://devfeed.tech/topics/openssh.md>), [Security](<https://devfeed.tech/topics/security.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [go](<https://devfeed.tech/tags/go.md>), [iptables](<https://devfeed.tech/tags/iptables.md>), [security](<https://devfeed.tech/tags/security.md>), [ssh](<https://devfeed.tech/tags/ssh.md>)

## AI overview

The article presents totp-ssh-flux, a tool that changes an SSH server's listening port every 30 seconds using TOTP codes. It explains the concept, demonstrates using a TOTP client to generate the port, and describes the Go-based implementation's use of iptables.

## Source excerpt

TOTP SSH port fluxing Some people change their SSH port on their servers so that it is slightly harder to find for bots or other nasties and while that is generally viewed as an action of [security through obscurity](https://en.wikipedia.org/wiki/S