Giter Club home page Giter Club logo

django-webssh's Introduction

开发环境: 
    deepin 15
    python 3.6

	
安装:(Centos 7 环境)
	git clone https://github.com/huyuan1999/django-webssh.git
	yum -y install epel-release gcc
	yum -y install python36 python36-devel
	curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
	python3.6 get-pip.py
	python3.6 -m pip install Django==2.0.6 paramiko==2.4.1 channels==2.1.5
	
	
启动:
	cd django-webssh/webssh/
	python3.6 manage.py runserver 0.0.0.0:8000





demo:

登录
webssh


命令行界面
webssh webssh


top交互式命令行界面
webssh webssh


vim命令行界面
webssh webssh

django-webssh's People

Contributors

huyuan1999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

django-webssh's Issues

求教

django-webssh/webssh/django_webssh/tools/channel/websocket.py文件中这个哪来的啊
from channels.generic.websocket import WebsocketConsumer

关于websocket和mysql

请教一下,之前我做的WebSSH里会因为MySQL的wait_timeout值太小导致连接失败,请问websocket是再下django启动的时候就连接上了Mysq开始计算wait_timeout的时间了么?

A Question about logging sent commands toward the device

Hi Huyuan,

I'm using your library in the platform that I'm developing to configure network devices to connect by web SSH connection to devices. It's a nice library! Excellent job!
I have a question from you.
I'm logging the user activity (command and the output I receive from the device, etc) in this library.
I'm using the entered characters user is entering in django_to_ssh() function in ssh.py file. But catching the final command that the user is sending toward the device is hard from the django_to_ssh() function.
How/Where can I have the final form of command that the user writes to send the device?

Thanks in advance,
Elahe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.