mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
add new app juser,jasset
This commit is contained in:
@@ -143,11 +143,13 @@ def connect(username, password, host, port):
|
||||
# set PS1 and msg it
|
||||
channel.send(ps1)
|
||||
channel.send(login_msg)
|
||||
print channel.get_name()
|
||||
|
||||
# Make ssh interactive tunnel
|
||||
posix_shell(channel, username, host)
|
||||
|
||||
# shutdown channel socket
|
||||
channel.close()
|
||||
ssh.close()
|
||||
|
||||
|
||||
|
0
jasset/__init__.py
Normal file
0
jasset/__init__.py
Normal file
3
jasset/admin.py
Normal file
3
jasset/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
0
jasset/migrations/__init__.py
Normal file
0
jasset/migrations/__init__.py
Normal file
3
jasset/models.py
Normal file
3
jasset/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
jasset/tests.py
Normal file
3
jasset/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
jasset/views.py
Normal file
3
jasset/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
0
juser/__init__.py
Normal file
0
juser/__init__.py
Normal file
3
juser/admin.py
Normal file
3
juser/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
0
juser/migrations/__init__.py
Normal file
0
juser/migrations/__init__.py
Normal file
3
juser/models.py
Normal file
3
juser/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
juser/tests.py
Normal file
3
juser/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
3
juser/views.py
Normal file
3
juser/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
Reference in New Issue
Block a user