Groups
Groups
Sign in
Groups
Groups
asyncssh-users
Conversations
About
Send feedback
Help
Test if Tunneled Connection is Alive
19 views
Skip to first unread message
xbrianh
unread,
Nov 29, 2023, 4:25:51 PM
11/29/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to asyncssh-users
Is there a canonical way to test if a tunneled connection is alive?
For instance:
connection = await asyncssh.connect(addr, tunnel=tunnel_connection)
if not connection.is_alive:
# deal with it
Thanks,
Brian
Reply all
Reply to author
Forward
0 new messages