B
B
BlagoYar Silence2021-10-17 22:09:24
Debian
BlagoYar Silence, 2021-10-17 22:09:24

How to notify about SFTP/FTP connections in Telegram?

By SSH I did, but when connecting via SFTP, it shows that SSH. Basically correct, but is it possible to separate somehow?
And so that even when connecting via FTP, it also reported.

Code:
Option 1
Option 2

PS. Although I checked it on another server, it only reports when you enter the console via SSH. SFTP does not report. This server with ISP Manager.
Probably due to the fact that the SSH port was changed to a non-standard one. Although the console reacts.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question