Skip to content

Commit 91318fb

Browse files
committed
update
1 parent 919923c commit 91318fb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/azure-cli/azure/cli/command_modules/appservice/_help.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,6 +1687,9 @@
16871687
helps['webapp create-remote-connection'] = """
16881688
type: command
16891689
short-summary: Creates a remote connection using a tcp tunnel to your web app
1690+
examples:
1691+
- name: Create a remote connection using a tcp tunnel to your web app
1692+
text: az webapp create-remote-connection --name MyWebApp --resource-group MyResourceGroup
16901693
"""
16911694

16921695
helps['webapp delete'] = """

src/azure-cli/azure/cli/command_modules/appservice/custom.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7303,6 +7303,8 @@ def create_tunnel(cmd, resource_group_name, name, port=None, slot=None, timeout=
73037303
ssh_user_name = 'root'
73047304
ssh_user_password = 'Docker!'
73057305
logger.warning('SSH is available { username: %s, password: %s }', ssh_user_name, ssh_user_password)
7306+
logger.warning('Enter a full SSH session with: ssh %s@%s -m hmac-sha1 -p %s', ssh_user_name,
7307+
tunnel_server.local_addr, tunnel_server.local_port)
73067308

73077309
logger.warning('Ctrl + C to close')
73087310

0 commit comments

Comments
 (0)