]> git-server-git.apps.pok.os.sepia.ceph.com Git - remoto.git/commitdiff
document ssh detection
authorAlfredo Deza <alfredo@deza.pe>
Tue, 21 Apr 2015 20:47:51 +0000 (16:47 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Tue, 21 Apr 2015 20:47:51 +0000 (16:47 -0400)
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
README.rst

index 6b4794a3d8ee8eb71ac2908ae9793a16d5cffb34..622c9262c9332b5801311519b1f77dff2a2e8e48 100644 (file)
@@ -126,3 +126,13 @@ Note that functions to be executed remotely **cannot** accept objects as
 arguments, just normal Python data structures, like tuples, lists and
 dictionaries. Also safe to use are ints and strings.
 
+
+Automatic detection for remote connections
+------------------------------------------
+There is automatic detection for the need to connect remotely (via SSH) or not
+that it is infered by the hostname of the current host (vs. the host that is
+connecting to).
+
+If the local host has the same as the remote hostname, a local connection (via
+`Popen`) will be opened and that will be used instead of `ssh`, and avoiding
+the issues of being able to ssh into the same host.