擅长:python、mysql、java
<p>它在Windows10中很适合我(cygwin中的autosh,Python3.6)
<code>port = 6379;
command = f'autossh -M 1{port} -N -f -C -L {port}:localhost:{port} root@acone2';
proc = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE, shell=True)</code></p>