Telegram Bot for getting a command to connect to your SSH server
Simple, secure, and convenient way to get your SSH connection details via Telegram.
SSH Connection Helper: Get SSH IP is a Telegram Bot that provides you with the command to connect to your SSH server. Perfect for when you need quick access to your server's connection details from anywhere.
Create a config.json file in your project root:
{
"token": "your-telegram-bot-token",
"admins": [
"chat_id1",
"chat_id2"
]
}
How to get your Telegram Bot Token:
/newbot and follow the instructionsconfig.json fileHow to get your Chat ID:
admins list# Clone the repository git clone https://github.com/aixandrolab/get_ssh_ip.git cd get_ssh_ip # Install dependencies pip install -r requirements.txt # Create config.json with your token and admins # Then run the bot python app.py
Dependencies:
By using this software, you agree to the following disclaimer:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.