Skip to content

kaushikd49/exec-gtalk-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exec-gtalk-bot

A Gtalk bot that supports running remote ssh commands. This was a hack I had worked on during one of the hack-nights at work.

How does it work ?

This hack uses PyGtalkRobot to bring up an instance of GtalkBot, which can run remote ssh commands via pysftp.

Usage

  1. Install the following Python modules
    • pysftp
    • py3dns
    • xmpppy
    • configobj
  2. Update the following details in config/auth_config.ini
    • gmail_bot_email_id
    • gmail_bot_password
    • username and password for ssh, as key/vals, for each gtalk user who wishes to run remote ssh commands
  3. shell> python exec-chat.py
  4. Add the Gtalk bot (gtalk-bot-email_id) to your Gtalk account and start chatting.

Sample output in wiki

About

A Gtalk bot that supports running remote ssh commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published