FAQ | This is a LIVE service | Changelog

Commit 5b4231a2 authored by Jon Marshall's avatar Jon Marshall
Browse files

This causes the nc listen to crap out even quicker, see if verbose does the same

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