mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 16:03:57 +01:00
client: add a debug1() message for connecting/connected.
If the server is going to delay us, we'd at least like to know that.
This commit is contained in:
parent
d435ed837d
commit
2d4f6a4308
@ -96,6 +96,7 @@ def _main(listener, fw, use_server, remotename, seed_hosts, auto_nets):
|
||||
helpers.logprefix = 'c : '
|
||||
else:
|
||||
helpers.logprefix = 'client: '
|
||||
debug1('connecting to server...\n')
|
||||
(serverproc, serversock) = ssh.connect(remotename)
|
||||
mux = Mux(serversock, serversock)
|
||||
handlers.append(mux)
|
||||
@ -110,6 +111,7 @@ def _main(listener, fw, use_server, remotename, seed_hosts, auto_nets):
|
||||
if initstring != expected:
|
||||
raise Fatal('expected server init string %r; got %r'
|
||||
% (expected, initstring))
|
||||
debug1('connected.\n')
|
||||
|
||||
def onroutes(routestr):
|
||||
if auto_nets:
|
||||
|
Loading…
Reference in New Issue
Block a user