Skip to content

phamthainb/telegram-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-ssh

Simple manager and ssh to your servers.

Use

  • setup your ssh-key on each server you want ssh to.
  • make && fill the file .env same as exam.env
  • npm run install
  • node bot.js or pm2 start bot.js

commands

  • /list: show list servers
  • /current: show current server
  • /add (root@abc)
  • /rm (index | root@abc): remove an server
  • /connect (index | root@abc)
  • /exit: reset connected

Demo

telegram-ssh

Todo

  • add description each server
  • try catch when ssh fail
  • auto close session when long time no active

Releases

No releases published

Packages

No packages published