Update __init__.py

pull/109/head
midoks 3 years ago
parent 205639f499
commit 3abd8dfcd3
  1. 2
      route/__init__.py

@ -360,7 +360,7 @@ done
def connect_ssh():
# print 'connect_ssh ....'
clear_ssh()
# clear_ssh()
global shell, ssh
if not os.path.exists('/root/.ssh/authorized_keys') or not os.path.exists('/root/.ssh/id_rsa') or not os.path.exists('/root/.ssh/id_rsa.pub'):
create_rsa()

Loading…
Cancel
Save