# SSH into Jetson Nano through Mac OS Catalina

**URL:** <https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405>\
**Category:** Jetson Nano\
**Created:** [October 17, 2019, 2:51am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405 "2019-10-17T02:51:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anhmiuhv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anhmiuhv](https://forums.developer.nvidia.com/u/anhmiuhv)\
**Post date:** [October 17, 2019, 2:51am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/1 "2019-10-17T02:51:42Z")

</div>

When I try to connect with it through the wifi the ssh server work. But when I try to use ssh [nvidia@192.168.55.1](mailto:nvidia@192.168.55.1) through the ECM interface of the usb gadget but it doesn’t work.

Apple driver log:  
[https://gist.github.com/anhmiuhv/4b08dfba6201d10c3001c2e2a3d859b8](https://gist.github.com/anhmiuhv/4b08dfba6201d10c3001c2e2a3d859b8)

Jetson Nano log:  
[https://gist.github.com/anhmiuhv/53936f05d3b364ebaceed52c1fca7c45](https://gist.github.com/anhmiuhv/53936f05d3b364ebaceed52c1fca7c45)

---

<div class="post-metadata">

**Author:** ![alanz](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/alanz/32/14043_2.png) [@alanz](https://forums.developer.nvidia.com/u/alanz)\
**Post date:** [October 17, 2019, 4:21am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/2 "2019-10-17T04:21:58Z")

</div>

Hi, Lthoang

What’s your jetpack or SD Image version.

Pls check the usb cable first. It should be able to transfer data.

Once the ECM works, there will be a folder pop up once the nano bootup sucess with ubuntu destop in the same time the usb insert into your pc.

---

<div class="post-metadata">

**Author:** ![anhmiuhv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anhmiuhv](https://forums.developer.nvidia.com/u/anhmiuhv)\
**Post date:** [October 17, 2019, 4:26am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/3 "2019-10-17T04:26:21Z")

</div>

I have the r32.2-2019-07-16 version

I tried to minicom to the serial device. it works so I think the usb cable is good.

---

<div class="post-metadata">

**Author:** ![anhmiuhv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anhmiuhv](https://forums.developer.nvidia.com/u/anhmiuhv)\
**Post date:** [October 17, 2019, 3:10pm UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/4 "2019-10-17T15:10:21Z")

</div>

Actually, this only happens when I try to power the jetson nano through the mircousb port; when I use the dc barrel it is ok.

---

<div class="post-metadata">

**Author:** ![anhmiuhv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anhmiuhv](https://forums.developer.nvidia.com/u/anhmiuhv)\
**Post date:** [October 17, 2019, 4:33pm UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/5 "2019-10-17T16:33:06Z")

</div>

The ssh works on my Linux machine but not my Mac.

---

<div class="post-metadata">

**Author:** ![alanz](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/alanz/32/14043_2.png) [@alanz](https://forums.developer.nvidia.com/u/alanz)\
**Post date:** [October 18, 2019, 2:19am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/6 "2019-10-18T02:19:15Z")

</div>

Good news. When usb cable is used as power supplier. The data function is disabled.

I don’t have a Mac to confirm. Maybe someone else could give some suggestion

---

<div class="post-metadata">

**Author:** ![anhmiuhv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@anhmiuhv](https://forums.developer.nvidia.com/u/anhmiuhv)\
**Post date:** [October 18, 2019, 3:08am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/7 "2019-10-18T03:08:29Z")

</div>

I try parallel running ubuntu on my Mac. I was able to ssh through the virtualized Ubuntu

---

<div class="post-metadata">

**Author:** ![alanz](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/alanz/32/14043_2.png) [@alanz](https://forums.developer.nvidia.com/u/alanz)\
**Post date:** [November 27, 2019, 8:33am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/8 "2019-11-27T08:33:44Z")

</div>

The neweast OS on Mac will failed to connect via the USB.

We will update the driver in the late Jetpack release to fix the usb connection issue.

---

<div class="post-metadata">

**Author:** ![StephenWarren](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/stephenwarren/32/14043_2.png) [@StephenWarren](https://forums.developer.nvidia.com/u/StephenWarren)\
**Post date:** [December 6, 2019, 1:50am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/9 "2019-12-06T01:50:06Z")

</div>

L4T’s USB device mode implements a variety of different functions in parallel, so is what’s known as a USB composite device. The Ethernet protocol that works with macOS (pre-Catalina) is known as USB CDC ECM (Communications Data Class Ethernet Control Model). macOS Catalina has replaced the driver for this protocol; it used to be a kernel-based driver but is now a user-space driver. Presumably Apple made significant code changes during this transition. Either way, the ECM driver in macOS Catalina no longer works with the configuration implemented by L4T/Jetson. Specifically, the ECM driver no longer works if the ECM function is part of a USB composite device, but does work if the ECM function is the the only function in the USB device. CDC NCM is an alternative Ethernet protocol. macOS Catalina’s CDC NCM driver seems to work fine if the NCM function is part of a composite gadget. Thus, there are two ways to solve this issue:

Disable all protocols other than ECM. Jetson will no longer additionally appear as a UART (serial port) or USB Mass Storage (disk). Edit /opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode-config.sh (recent L4T releases) or /opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode-start.sh (older L4T releases) to disable all other protocols; change the =1 to =0 in all the following lines:

enable\_rndis=1  
enable\_acm=1  
enable\_ums=1

OR:

1. Edit /opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode-start.sh and change all relevant references to ECM to use NCM instead. Specifically, something like:

func=functions/ecm.usb0

to:

func=functions/ncm.usb0

and:

/sbin/brctl addif l4tbr0 “$(cat functions/ecm.usb0/ifname)”  
/sbin/ifconfig “$(cat functions/ecm.usb0/ifname)” up

to:

/sbin/brctl addif l4tbr0 “$(cat functions/ncm.usb0/ifname)”  
/sbin/ifconfig “$(cat functions/ncm.usb0/ifname)” up

A future release of L4T does roughly (2) above, while enhancing the script to allow easy switching between ECM and NCM protocols.

---

<div class="post-metadata">

**Author:** ![mysliwiec](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mysliwiec](https://forums.developer.nvidia.com/u/mysliwiec)\
**Post date:** [December 6, 2019, 7:59am UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/10 "2019-12-06T07:59:40Z")

</div>

I was just reading the JetPack SDK 4.3 DP Changelog and was afraid that we wouldn’t have fix anytime soon, but seems like @StephenWarren fix works :-) Thank you for that!

---

<div class="post-metadata">

**Author:** ![charleslundy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@charleslundy](https://forums.developer.nvidia.com/u/charleslundy)\
**Post date:** [August 24, 2020, 8:02pm UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/11 "2020-08-24T20:02:38Z")

</div>

I need a little help here since I’m relatively new trying to work with Getting Started with AI on Jetson Nano. I’m able to run it on a PC laptop, but want to run it on my iMac. I tried to make the changes Stephen recommended, however it won’t allow it to be saved. It says I don’t have admin rights, this is with the Nano logged in using a TV and keyboard. Any help would be appreciated.

Chuck

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 14, 2021, 9:59pm UTC](https://forums.developer.nvidia.com/t/ssh-into-jetson-nano-through-mac-os-catalina/83405/12 "2021-10-14T21:59:53Z")

</div>

Closed on October 14, 2021, 9:59pm UTC


