Revision 9cc9a491 examples/baresshd.py

View differences:

examples/baresshd.py
28 28
f.close()
29 29

  
30 30
print "*** Running sshd"
31
cmd = '/usr/sbin/sshd -o "Banner /tmp/%s.banner"' % h1.name
31
cmd = '/usr/sbin/sshd -o UseDNS=no -u0 -o "Banner /tmp/%s.banner"' % h1.name
32 32
# add arguments from the command line
33 33
if len( sys.argv ) > 1:
34 34
    cmd += ' ' + ' '.join( sys.argv[ 1: ] )

Also available in: Unified diff