summaryrefslogtreecommitdiffstats
path: root/notFinishedCode
diff options
context:
space:
mode:
authorRefik Hadzialic2011-08-18 13:44:03 +0200
committerRefik Hadzialic2011-08-18 13:44:03 +0200
commite2cb8f7974e8bad33c1662be2112eabfe928b8f6 (patch)
treed61cbb252d6f1e3dfb69cec66eccc35245c3762f /notFinishedCode
parentSSHTunnelClass works now. One needs to create RSA keys on the machine that st... (diff)
downloadgsm-selftest-e2cb8f7974e8bad33c1662be2112eabfe928b8f6.tar.gz
gsm-selftest-e2cb8f7974e8bad33c1662be2112eabfe928b8f6.tar.xz
gsm-selftest-e2cb8f7974e8bad33c1662be2112eabfe928b8f6.zip
Added a comment how to make an RSA key and how to use it for logging without a password!
Diffstat (limited to 'notFinishedCode')
-rw-r--r--notFinishedCode/SSHTunnelClass.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/notFinishedCode/SSHTunnelClass.py b/notFinishedCode/SSHTunnelClass.py
index 825898b..115fcdd 100644
--- a/notFinishedCode/SSHTunnelClass.py
+++ b/notFinishedCode/SSHTunnelClass.py
@@ -1,6 +1,7 @@
+#Here is a tutorial how to generate and copy your RSA SSH public key :)
+#>>> http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/
import subprocess
-import string
-from time import sleep
+
class SSHTunneling:
def __init__(self, localPort, remotePort, remoteServer, username, password):