FAQ | This is a LIVE service | Changelog

Commit cd1aca8d authored by Jon Marshall's avatar Jon Marshall
Browse files

Keep open is a bad idea

parent db4d9694
......@@ -292,9 +292,9 @@ class RemoteDataset(Dataset):
self.log.error('Could not obtain IP address, netcat cannot start')
raise ConnectionError
if self.protocol == 'ssh':
nc_cmd = 'nc localhost -l %i --keep-open -e "%s"' % (port, recv_cmd)
nc_cmd = 'nc localhost -l %i -e "%s"' % (port, recv_cmd)
nc_cmd = 'nc -l %i --keep-open -e "%s" --allow %s' % (port, recv_cmd, ip)
nc_cmd = 'nc -l %i -e "%s" --allow %s' % (port, recv_cmd, ip)
# Set it up and send back the port that got used
Supports Markdown
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