FAQ | This is a LIVE service | Changelog

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

That didn't work so trying with /bin/sh

parent 89d17979
......@@ -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 -e "%s"' % (port, recv_cmd)
nc_cmd = 'nc localhost -l %i -c "%s"' % (port, recv_cmd)
nc_cmd = 'nc -l %i -e "%s" --allow %s' % (port, recv_cmd, ip)
nc_cmd = 'nc -l %i -c "%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