ホーム AI・IT AWS IoT SSH Tunneling: Secure Remote Access Guide & Best Practices

AWS IoT SSH Tunneling: Secure Remote Access Guide & Best Practices

日向 理沙 日向 理沙 • 更新: • 公開: • 読了約 23 分
目次
["Thetutorialsinthissectionfocusoncreatingatunnelusingtheawsmanagementconsoleandtheawsiotapireference.","Intheawsiotconsole,youcancreateatunnelfromthetunnelshubpageorfromthedetailspageofathingthatyoucreated.","Usingfirewallsisacommonwaytoprotectandsecureaccesstoiotdevices.","Yet,it\u2019schallengingtoaccessandmanagedevicesdeployedatremotesites,behindfirewallsthatblockallinboundtraffic.","Troubleshootingdevicescaninvolvesendingtechniciansonsitetoconnecttothosedevices.","Thisincreasesthecomplexityandthecostofdevicemanagement.","Withthisawsiotmanagedtunnel,youcanopenthesshconnectionneededforyourdevice.","Formoreinformationaboutusingawsiotsecuretunnelingtoconnecttoremotedevices,seeawsiotsecuretunnelingintheawsiotdeveloperguide.","Todeleteanindividualtunnelormultipletunnelsfromtheawsiotconsole,gotothetunnelshub,choosethetunnelsthatyouwanttodelete,andthenchoosedeletetunnel.","Todeleteanindividualtunnelormultipletunnelsusingtheawsiotapireferenceapi,usetheclosetunnelapioperation.","\u6b64\u4e8b\u7269\u5bf9\u5e94\u4e8e\u4e91\u4e2d\u60a8\u7684\u8fdc\u7a0b\u8bbe\u5907\u8868\u793a\u3002\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u5728awsiot\u6ce8\u518c\u8868\u4e2d\u6ce8\u518c\u8bbe\u5907\u3002\u60a8\u6709\u4e00\u4e2aiot\u8bbe\u5907\u4ee3\u7406\uff08\u8bf7\u53c2\u9605iot\u4ee3\u7406\u4ee3\u7801\u6bb5\uff09\u5728\u8fde\u63a5\u5230awsiot\u8bbe\u5907\u7f51\u5173\u7684\u8fdc\u7a0b\u8bbe\u5907\u4e0a\u8fd0\u884c\uff0c\u5e76\u914d\u7f6e\u4e86mqtt\u4e3b\u9898\u8ba2\u9605\u3002\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u5c06\u8bbe\u5907\u8fde\u63a5\u5230awsiot\u8bbe\u5907\u7f51\u5173\u3002","\u30af\u30a4\u30c3\u30af\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3068ssh\u3092\u30d6\u30e9\u30a6\u30b6\u5185\u306e\u30ea\u30e2\u30fc\u30c8\u30c7\u30d0\u30a4\u30b9\u306b\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b9\u5f0f\u3067\u30c8\u30f3\u30cd\u30eb\u3092\u958b\u304f\u306b\u306f\u3001awsiot\u30ec\u30b8\u30b9\u30c8\u30ea\u306biot\u306e\u30e2\u30ce(\u4f8b\u3048\u3070remotedevicea)\u3092\u4f5c\u6210\u3057\u3066\u304a\u304f","\u60a8\u65e0\u6cd5\u7f16\u8f91\u73b0\u6709\u96a7\u9053\u7684\u914d\u7f6e\u8be6\u7ec6\u4fe1\u606f\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5feb\u901f\u8bbe\u7f6e\u65b9\u6cd5\u5728\u6d4f\u89c8\u5668\u4e2d\u5c06\u8bbf\u95ee\u4ee4\u724c\u548cssh\u8f6e\u6362\u5230\u8fdc\u7a0b\u8bbe\u5907\u4e2d\u3002\u8981\u4f7f\u7528\u6b64\u65b9\u6cd5\u6253\u5f00\u96a7\u9053\uff0c\u60a8\u5fc5\u987b\u5df2\u7ecf\u5728awsiot\u6ce8\u518c\u8868\u4e2d\u521b\u5efa\u4e86iot\u4e8b\u7269\uff08\u4f8b\u5982remotedevicea\uff09\u3002\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605\u5728awsiot\u6ce8\u518c\u8868\u4e2d\u6ce8\u518c\u8bbe\u5907\u3002","Iamtryingtocreateansshtunnelthatcanconnectaws(source)tomymacbook(destination).","Uponcreatingthetunnelusingiotcore,ireceivetheaccesstokensforsourceanddestination.","Awsiot\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u3001\u30c8\u30f3\u30cd\u30eb\u30cf\u30d6\u30da\u30fc\u30b8\u307e\u305f\u306f\u4f5c\u6210\u3057\u305fiot\u306e\u30e2\u30ce\u306e\u8a73\u7d30\u30da\u30fc\u30b8\u304b\u3089\u30c8\u30f3\u30cd\u30eb\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\u30c8\u30f3\u30cd\u30eb\u30cf\u30d6\u304b\u3089\u30c8\u30f3\u30cd\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u30af\u30a4\u30c3\u30af\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068\u624b\u52d5\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u3069\u3061\u3089\u3092\u4f7f\u7528\u3057\u3066\u30c8\u30f3\u30cd\u30eb\u3092\u4f5c\u6210\u3059\u308b\u304b\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002","Awsiotdevicemanagementhasabreadthoftoolsthatenablebusinessestobuildiotapplicationsforeveryindustry.","However,whenitcomestoremoteaccesstodevices,thattypicallyhasinvolvedacustomersendingacontrolmessageeitherthroughamqtttopic,orupdatingthedevice\u2019sshadowandthenhavingthedeviceagenttakeaction[\u2026]","\u3053\u306e\u8a18\u4e8b\u306fhowtoremoteaccessdevicesfromawebbrowserusingsecuretunneling\u306e\u65e5\u672c\u8a9e\u8a33\u3067\u3059\u3002.","Iamtryingtocreateansshtunnelthatcanconnectaws(source)tomymacbook(destination).","Uponcreatingthetunnelusingiotcore,ireceivetheaccesstokensforsourceanddestination.","Awsiot\u306eiot\u30bb\u30ad\u30e5\u30a2\u30c8\u30f3\u30cd\u30ea\u30f3\u30b0\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002awsiotsecuretunnelinglocalproxyreferencec++implementation;","Awsiotsecuretunnelingtutorialthatshowshowtoopenatunnelandstartansshsession.","Usesecuretunnelingtoestablishbidirectionalcommunicationtoremotedevicesoverasecureconnectionthatismanagedbyawsiot.","Securetunnelingdoesnotrequireupdatestoyourexistinginboundfirewallrules,soyoucankeepthesamesecuritylevelprovidedbyfirewallrulesataremotesite.","Sayyoucreatedthetunnelforyourremotedevice,remotedevice1,usingthemanualsetupmethodorusingtheawsiotapireferenceapi.","Awsiotsecuretunnelingsupports\u201cprivatekey\u201dsshauthentication,makingiteasierforyoutomonitordeviceanomalies,takemitigatingactions,andrectifythedevicestatewhereneeded.","Thisfeaturesimplifiestheonboardingexperiencesignificantlybecausecustomersnolongerneedtocompileandinstallalocalproxyontheoperators'device.","Understandingsshtunnelingwithawsiotcore.","Whenestablishingansshtunnelusingawsiotcore,theprocessinvolvescreatingasecurecommunicationpathwaybetweentwoendpoints:","Thesourceandthedestination.","Uponsuccessfulcreationofthetunnel,usersreceiveaccesstokensspecifictoeachendpoint,facilitatingsecureauthentication","Soicansuccessfullycreateasecuretunnelovermqttandsshloginviausernameandpasswordtothedeviceusingtheawsiotconsole;","However,theoptiontologinviaprivatekeydoesnotwork.","Evenwithmysameprivatekeywhichworkslogginginoverlocalnetwork(publickeyisin.ssh\/authorized_keys).","Ihopethishelpsclarify.","Awsiot\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30c8\u30f3\u30cd\u30eb\u30cf\u30d6\u306b\u79fb\u52d5\u3057\u3066\u3001\u4f5c\u6210\u3057\u305f\u30c8\u30f3\u30cd\u30eb\u3092\u9078\u629e\u3057\u3001\u305d\u306e\u8a73\u7d30\u3092\u8868\u793a\u3057\u307e\u3059\u3002[secureshell(ssh)](\u30bb\u30ad\u30e5\u30a2\u30b7\u30a7\u30eb(ssh))\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u5c55\u958b\u3057\u3001[connect](\u63a5\u7d9a)\u3092\u9078\u629e\u3057\u307e\u3059\u3002","Aniotapplicationthatconnectstotheawsiotdevicegatewayandlistensfornewtunnelnotificationsovermqtt.","Formoreinformation,seeiotagentsnippet.","Asoftwareproxythatrunsonthesourceanddestinationdevicesandrelaysadatastreambetweensecuretunnelingandthedeviceapplication.","Afterthetunnelhasbeenopened,awsiotdevicemanagementprovidesthecatforthesourcethatyoucandownloadonthesourcedevice.","Youcanusethecattostartthelocalproxyinsourcemode,whichthenconnectsthesourcesideofthetunnel.","Formoreinformationaboutlocalproxy,seelocalproxy.","Asbothsidesofthe","However,ensuringsecurecommunicationbetweeniotdevicesandcloudplatformslikeawsiscrucial.","Oneofthemosteffectivewaystoachievethisisthroughsshtunneling.","Thisarticledelvesintotheconceptofiotsshtunnelaws,explaininghowitworks,itsbenefits,andhowyoucanimplementittoenhanceyouriotinfrastructure'ssecurity.","\u542f\u52a8localproxy\uff08\u4ee5destinationmode\uff09\u4f7f\u7528\u96c6\u6210\u5728awsmanagementconsole\u4e2dsecureshell\uff08ssh\uff09\uff0c\u8fde\u63a5\u8bbe\u5907\u5e76\u767b\u5f55","Bestpracticesforawsiotsshtunnel.","Whileawsiotsshtunnelisincrediblypowerful,thereareafewbestpracticesyoushouldfollowtomaximizeitseffectiveness:","Alwaysusestrongpasswordsandsshkeystoprotectyourdevices.","Avoidusingdefaultcredentials,astheycanbeeasilyguessedbyattackers."]

Ever struggled to access and manage your Internet of Things (IoT) devices deployed in remote locations, especially when they are behind firewalls? The answer lies in AWS IoT Secure Tunneling, a powerful solution that simplifies and secures remote access to your IoT devices.

The tutorials presented in this section will serve as a guide to creating tunnels using the AWS Management Console and the AWS IoT API reference. In essence, the AWS IoT console provides a user-friendly environment where you can establish a tunnel either from the "Tunnels hub" page or from the details page of a specific "thing" (a representation of your IoT device) that you have created. Furthermore, you have the option to delete individual or multiple tunnels directly from the AWS IoT console by navigating to the "Tunnels hub," selecting the tunnels you wish to remove, and then choosing the "Delete tunnel" option. Alternatively, using the AWS IoT API reference, you can delete tunnels using the "CloseTunnel" API operation. These tools empower you with granular control over your secure connections.

Topic: AWS IoT Secure Tunneling
Purpose: Facilitates secure remote access to IoT devices.
Key Features:
  • Creates SSH tunnels for secure communication.
  • Bypasses firewall restrictions that block inbound traffic.
  • Provides access tokens for authentication.
  • Supports private key SSH authentication.
  • Simplifies device management and troubleshooting.
Benefits:
  • Reduces the need for on-site visits.
  • Lowers device management costs.
  • Enhances security through secure connections.
  • Simplifies the onboarding experience.
Implementation:
  • Create a tunnel using the AWS Management Console or API.
  • Use the "Tunnels hub" or device details page to manage tunnels.
  • Utilize local proxies on source and destination devices.
  • Employ access tokens for authentication.
Considerations:
  • Securely store access tokens and private keys.
  • Implement best practices for SSH security (strong passwords, key management).
  • Monitor device anomalies.
Relevant AWS Services:
  • AWS IoT Core
  • AWS IoT Device Management
Reference Website: AWS IoT Secure Tunneling Documentation

Firewalls, while essential for security, often create barriers to remote device access and management. The conventional approach of dispatching technicians to the device location for troubleshooting or updates is time-consuming and costly. AWS IoT Secure Tunneling provides a streamlined solution by establishing secure SSH connections to your devices, regardless of their location or network configuration. This eliminates the need to open inbound firewall ports, preserving your security posture while providing easy access.

The core of AWS IoT Secure Tunneling lies in its ability to create a secure communication pathway between two key endpoints: the source and the destination. In the context of your scenario, the source could be your AWS environment, and the destination could be your remote device. Upon successful creation of the tunnel, the system provides access tokens that are unique to each endpoint. These tokens ensure secure authentication and facilitate a trusted communication channel. The process leverages MQTT, enabling an IoT application to connect to the AWS IoT Device Gateway and listen for new tunnel notifications. The use of a software proxy that runs on both the source and destination devices is critical. This proxy relays data streams between the secure tunneling service and your device application. After the tunnel is open, AWS IoT Device Management provides the necessary configuration file, or "cat," for the source. You can download this file on the source device to activate the local proxy in source mode, effectively linking the source side of the tunnel.

To get started, tutorials will guide you through establishing a tunnel using the AWS Management Console. You can initiate this process either from the "Tunnels hub" or from the detailed view of the "thing" representing your device. This flexibility allows you to manage tunnels either on a global level or device-specifically. The "Quick setup" feature provides a simplified approach to get up and running fast. Moreover, you will learn how to delete individual or multiple tunnels. You can manage these actions from the "Tunnels hub" by selecting the desired tunnels and choosing the "Delete tunnel" action. Alternatively, the "CloseTunnel" API operation via the AWS IoT API reference offers a programmatic way to manage your tunnels.

It's important to note that the system supports "private key" SSH authentication, allowing you to easily monitor device anomalies, take immediate corrective action, and rectify the state of your devices when necessary. This feature simplifies the user onboarding process significantly, as it eliminates the need for customers to compile and install local proxies on their operator devices.

For those familiar with the basics, AWS IoT Secure Tunneling enables bidirectional communication with your remote devices over a secure connection that is fully managed by AWS IoT. The beauty of this approach is that it does not require modifications to your existing inbound firewall rules, maintaining the security level you have established at your remote site. If you have a remote device named "remotedevice1," created using the manual setup method or the AWS IoT API, the system allows you to establish a tunnel.

A deeper dive into SSH tunneling reveals that the core process creates a secure connection between two main endpoints: the source and destination. Once the tunnel is successfully established, users receive unique access tokens to facilitate secure authentication between the communicating ends.

While the process offers significant convenience, it's important to use secure practices. You can create a secure tunnel over MQTT and log in via username and password. However, if you choose to use private key authentication, it is important to ensure that the correct keys are configured on both sides. Double-check your private key and confirm that the public key is correctly set in the ".ssh/authorized_keys" file on the destination device.

In the AWS IoT console, you can navigate to the "Tunnels hub" and select a tunnel to view its details. Here, you can expand the "secure shell (ssh)" section and select "connect." If you decide to create a tunnel from the Tunnels hub, you can choose between the "Quick setup" or the "manual setup" to create the tunnel.

AWS IoT Device Management provides a range of tools that help businesses build IoT applications across various industries. However, traditionally, remote access often involves sending a control message through an MQTT topic or updating the device's shadow. With AWS IoT Secure Tunneling, these methods are streamlined to establish secure connections for device management.

To ensure optimal performance, implement best practices to maximize the effectiveness of your AWS IoT SSH tunnel, which includes using strong passwords and SSH keys to protect your devices, and never using default credentials, as they are easily compromised.

The quick setup method lets you quickly route access tokens and SSH access within your browser to the remote device. To accomplish this, it is important that you already have an IoT "thing" registered within AWS IoT.

The core functionality of AWS IoT Secure Tunneling involves a software proxy running on both the source and destination devices, which relays the data stream between secure tunneling and the specific device application. After the tunnel has been opened, the AWS IoT device management provides the "cat" or configuration file for the source, which you can download on the source device. Then you can start the local proxy in source mode, connecting the source side of the tunnel.

The approach involves establishing a secure and reliable connection between your IoT devices and the cloud. It uses SSH tunneling, one of the most effective methods to achieve this, thus enhancing your IoT infrastructure's security.

For example, to initiate a remote device, remotedevice1, and log in, you must start localproxy in destination mode and use the integration within the AWS Management Console's secure shell (SSH) to connect and log in to your device. (出典: The tutorials in this section focus on creating a tunnel using the aws management console and the aws iot api referenceIn the aws iot console you can create a tunnel from the tunnels hub page or from the details page of a thing that you createdUsing firewalls is a common way to protect and secure access to iot devicesYet itu2019s challenging to access and manage devices deployed at remote sites behind firewalls that block all inbound trafficTroubleshooting devices can involve sending technicians onsite to connect to those devicesThis increases the complexity and the cost of device managementWith this aws iot managed tunnel you can open the ssh connection needed for your deviceFor more information about using aws iot secure tunneling to connect to remote devices see aws iot secure tunneling in the aws iot developer guideTo delete an individual tunnel or multiple tunnels from the aws iot console go to the tunnels hub choose the tunnels that you want to delete and then choose delete tunnelTo delete an individual tunnel or multiple tunnels using the aws iot api reference api use the closetunnel api operationu6b64u4e8bu7269u5bf9u5e94u4e8eu4e91u4e2du60a8u7684u8fdcu7a0bu8bbeu5907u8868u793au3002u6709u5173u66f4u591au4fe1u606fuff0cu8bf7u53c2u9605u5728 aws iot u6ce8u518cu8868u4e2du6ce8u518cu8bbeu5907u3002 u60a8u6709u4e00u4e2a iot u8bbeu5907u4ee3u7406uff08u8bf7u53c2u9605 iot u4ee3u7406u4ee3u7801u6bb5uff09u5728u8fdeu63a5u5230 aws iot u8bbeu5907u7f51u5173u7684u8fdcu7a0bu8bbeu5907u4e0au8fd0u884cuff0cu5e76u914du7f6eu4e86 mqtt u4e3bu9898u8ba2u9605u3002u6709u5173u66f4u591au4fe1u606fuff0cu8bf7u53c2u9605u5c06u8bbeu5907u8fdeu63a5u5230 aws iot u8bbeu5907u7f51u5173u3002u30afu30a4u30c3u30afu30bbu30c3u30c8u30a2u30c3u30d7u65b9u5f0fu3092u4f7fu7528u3057u3066u3001u30a2u30afu30bbu30b9u30c8u30fcu30afu30f3u3068 ssh u3092u30d6u30e9u30a6u30b6u5185u306eu30eau30e2u30fcu30c8u30c7u30d0u30a4u30b9u306bu30edu30fcu30c6u30fcu30b7u30e7u30f3u3067u304du307eu3059u3002u3053u306eu65b9u5f0fu3067u30c8u30f3u30cdu30ebu3092u958bu304fu306bu306fu3001aws iot u30ecu30b8u30b9u30c8u30eau306b iot u306eu30e2u30ce u4f8bu3048u3070 remotedevicea u3092u4f5cu6210u3057u3066u304au304fu60a8u65e0u6cd5u7f16u8f91u73b0u6709u96a7u9053u7684u914du7f6eu8be6u7ec6u4fe1u606fu3002u60a8u53efu4ee5u4f7fu7528u5febu901fu8bbeu7f6eu65b9u6cd5u5728u6d4fu89c8u5668u4e2du5c06u8bbfu95eeu4ee4u724cu548c ssh u8f6eu6362u5230u8fdcu7a0bu8bbeu5907u4e2du3002u8981u4f7fu7528u6b64u65b9u6cd5u6253u5f00u96a7u9053uff0cu60a8u5fc5u987bu5df2u7ecfu5728 aws iot u6ce8u518cu8868u4e2du521bu5efau4e86 iot u4e8bu7269uff08u4f8bu5982 remotedeviceauff09u3002u6709u5173u66f4u591au4fe1u606fuff0cu8bf7u53c2u9605u5728 aws iot u6ce8u518cu8868u4e2du6ce8u518cu8bbeu5907u3002I am trying to create an ssh tunnel that can connect aws source to my macbook destinationUpon creating the tunnel using iot core i receive the access tokens for source and destinationAws iot u30b3u30f3u30bdu30fcu30ebu304bu3089u3001u30c8u30f3u30cdu30ebu30cfu30d6u30dau30fcu30b8u307eu305fu306fu4f5cu6210u3057u305f iot u306eu30e2u30ceu306eu8a73u7d30u30dau30fcu30b8u304bu3089u30c8u30f3u30cdu30ebu3092u4f5cu6210u3067u304du307eu3059u3002u30c8u30f3u30cdu30ebu30cfu30d6u304bu3089u30c8u30f3u30cdu30ebu3092u4f5cu6210u3059u308bu5834u5408u3001u30afu30a4u30c3u30afu30bbu30c3u30c8u30a2u30c3u30d7u3068u624bu52d5u30bbu30c3u30c8u30a2u30c3u30d7u306eu3069u3061u3089u3092u4f7fu7528u3057u3066u30c8u30f3u30cdu30ebu3092u4f5cu6210u3059u308bu304bu3092u6307u5b9au3067u304du307eu3059u3002Aws iot device management has a breadth of tools that enable businesses to build iot applications for every industryHowever when it comes to remote access to devices that typically has involved a customer sending a control message either through a mqtt topic or updating the deviceu2019s shadow and then having the device agent take action u2026u3053u306eu8a18u4e8bu306f how to remote access devices from a web browser using secure tunneling u306eu65e5u672cu8a9eu8a33u3067u3059u3002I am trying to create an ssh tunnel that can connect aws source to my macbook destinationUpon creating the tunnel using iot core i receive the access tokens for source and destinationAws iotu306eiotu30bbu30adu30e5u30a2u30c8u30f3u30cdu30eau30f3u30b0u3092u8a66u3057u3066u307fu307eu3057u305fu3002 aws iot secure tunneling local proxy reference c implementationAws iot secure tunneling tutorial that shows how to open a tunnel and start an ssh sessionUse secure tunneling to establish bidirectional communication to remote devices over a secure connection that is managed by aws iotSecure tunneling does not require updates to your existing inbound firewall rules so you can keep the same security level provided by firewall rules at a remote siteSay you created the tunnel for your remote device remotedevice1 using the manual setup method or using the aws iot api reference apiAws iot secure tunneling supports u201cprivate keyu201d ssh authentication making it easier for you to monitor device anomalies take mitigating actions and rectify the device state where neededThis feature simplifies the onboarding experience significantly because customers no longer need to compile and install a local proxy on the operators deviceUnderstanding ssh tunneling with aws iot coreWhen establishing an ssh tunnel using aws iot core the process involves creating a secure communication pathway between two endpointsThe source and the destinationUpon successful creation of the tunnel users receive access tokens specific to each endpoint facilitating secure authenticationSo i can successfully create a secure tunnel over mqtt and ssh login via username and password to the device using the aws iot consoleHowever the option to login via private key does not workEven with my same private key which works logging in over local network public key is insshauthorizedkeysI hope this helps clarifyAws iot u30b3u30f3u30bdu30fcu30ebu306eu30c8u30f3u30cdu30ebu30cfu30d6 u306bu79fbu52d5u3057u3066u3001u4f5cu6210u3057u305fu30c8u30f3u30cdu30ebu3092u9078u629eu3057u3001u305du306eu8a73u7d30u3092u8868u793au3057u307eu3059u3002 secure shell ssh u30bbu30adu30e5u30a2u30b7u30a7u30eb ssh u30bbu30afu30b7u30e7u30f3u3092u5c55u958bu3057u3001connect u63a5u7d9a u3092u9078u629eu3057u307eu3059u3002An iot application that connects to the aws iot device gateway and listens for new tunnel notifications over mqttFor more information see iot agent snippetA software proxy that runs on the source and destination devices and relays a data stream between secure tunneling and the device applicationAfter the tunnel has been opened aws iot device management provides the cat for the source that you can download on the source deviceYou can use the cat to start the local proxy in source mode which then connects the source side of the tunnelFor more information about local proxy see local proxyAs both sides of theHowever ensuring secure communication between iot devices and cloud platforms like aws is crucialOne of the most effective ways to achieve this is through ssh tunnelingThis article delves into the concept of iot ssh tunnel aws explaining how it works its benefits and how you can implement it to enhance your iot infrastructures securityu542fu52a8 localproxyuff08u4ee5 destination modeuff09 u4f7fu7528u96c6u6210u5728 aws management console u4e2d secure shelluff08sshuff09uff0cu8fdeu63a5u8bbeu5907u5e76u767bu5f55Best practices for aws iot ssh tunnelWhile aws iot ssh tunnel is incredibly powerful there are a few best practices you should follow to maximize its effectivenessAlways use strong passwords and ssh keys to protect your devicesAvoid using default credentials as they can be easily guessed by attackers(Yahoo!ニュース))

同じカテゴリの記事

日向 理沙

芸能取材歴10年のデスク。所属事務所の公式リリース、番組公式サイト、配信サービスの告知を一次情報として採用し、裏付けの取れない内容は記事にしていません。

おすすめの関連記事