FAQ | This is a LIVE service | Changelog

Commit 65ad7e87 authored by Jon Marshall's avatar Jon Marshall
Browse files

Added /tmp debug logging for netcat, hopefully this will help pin it down

parent 65f1076e
......@@ -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 -c "%s"' % (port, recv_cmd)
nc_cmd = 'nc localhost -l %i -c "%s" -v -o /tmp/%s.log --append-output' % (port, recv_cmd, self.name)
nc_cmd = 'nc -l %i -c "%s" --allow %s' % (port, recv_cmd, ip)
nc_cmd = 'nc -l %i -c "%s" -v -o /tmp/%s.log --append-output --allow %s' % (port, recv_cmd, self.name, 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