Commit 6a2e6709 authored by root's avatar root

add new app juser,jasset

parent 1e8d930e
......@@ -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()
......
from django.contrib import admin
# Register your models here.
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
from django.contrib import admin
# Register your models here.
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment