# Unable to build up connection from host to target via ssh

**URL:** <https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387>\
**Category:** Jetson AGX Xavier\
**Created:** [December 11, 2018, 1:44pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387 "2018-12-11T13:44:23Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![betzebubi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@betzebubi](https://forums.developer.nvidia.com/u/betzebubi)\
**Post date:** [December 11, 2018, 1:44pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/1 "2018-12-11T13:44:23Z")

</div>

Hello,  
I’m currently facing following problem:  
I want to set up and install my Xavier dev kit. I’m working with the installation guidelines of Jetpack 4.1.1 and Jetpack 4.1.1. The installations on the host are working fine, also the flashing of the linux OS on target.  
But then the host gets a timeout when installing the required packages on the target (for example CUDA). Also target is not accessible via ssh.  
Target shows the correct IP address after boot.  
I chose the variant without additional wifi-switch for installation, so that Xavier uses host as bridge.

What could be the problem?

Cheers  
Max

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [December 11, 2018, 7:33pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/2 "2018-12-11T19:33:23Z")

</div>

Can you ping the address? What do you see if you manually try this:

```auto
ssh nvidia@<whateverIPaddress>

```

(login name nvidia has password “nvidia” by default)

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [December 13, 2018, 2:08am UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/3 "2018-12-13T02:08:40Z")

</div>

Any error log after ssh failure?  
Are you available to access device? You could try to use usb-c for serial console or connect HDMI to it.

---

<div class="post-metadata">

**Author:** ![JerryChang](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jerrychang/32/14043_2.png) [@JerryChang](https://forums.developer.nvidia.com/u/JerryChang)\
**Post date:** [December 13, 2018, 3:50am UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/4 "2018-12-13T03:50:50Z")

</div>

hello betzebubi,

could you please also share uart logs,  
you may refer to [Topic 1043897](https://devtalk.nvidia.com/default/topic/1043897/) to gather uart logs via J501.  
thanks

---

<div class="post-metadata">

**Author:** ![Andrey1984](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/andrey1984/32/14130_2.png) [@Andrey1984](https://forums.developer.nvidia.com/u/Andrey1984)\
**Post date:** [December 13, 2018, 6:28am UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/5 "2018-12-13T06:28:24Z")

</div>

When you are doing the flashing, the Jetpack will ask you to set up Host’s network interface that is connected to the internet, and as long as the Host has the internet connection on the selected interface, the installation should work, in my opinion. [I presume you also choose ‘Jetson connected to Host via USB cable’]  
I would encourage you to try again.

---

<div class="post-metadata">

**Author:** ![betzebubi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@betzebubi](https://forums.developer.nvidia.com/u/betzebubi)\
**Post date:** [December 13, 2018, 6:45pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/6 "2018-12-13T18:45:10Z")

</div>

Hello,

when trying to build up connection via

```auto
ssh nvidia@<whateverIPaddress>

```

the answer is:

```auto
ssh: connect to host <whateverIPaddress> port 22: No route to host

```

```auto
lsusb

```

shows me that connection is available.

Maybe ssh is not set up correctly on the host?

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [December 13, 2018, 10:04pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/7 "2018-12-13T22:04:19Z")

</div>

You would need to replace “” with the actual IP address. “” just stands in for the real address, which I don’t know (it would look something like “192.168.1.2” or “10.0.0.2”…or something similar).

---

<div class="post-metadata">

**Author:** ![betzebubi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@betzebubi](https://forums.developer.nvidia.com/u/betzebubi)\
**Post date:** [December 14, 2018, 8:40am UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/8 "2018-12-14T08:40:04Z")

</div>

I know how it works, don’t worry, it’s 192.168.55.1.

I tried it also with another host computer and there it works all fine. Any suggestion what could cause the problems on the first host?

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [December 14, 2018, 8:40pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/9 "2018-12-14T20:40:25Z")

</div>

This is the USB device “gadget” emulating a network card (this is more or less a demonstration). I have not tried to use this for ssh, but this is probably why it fails.

Your host PC may need to add extra steps to use the USB “gadget” as if it is a real USB network device. It is highly likely that you have a real ethernet interface on your host PC which the combination of address/mask goes to…this would bypass a second network device using the same address/mask combination.

Do you not have a real ethernet network set up? JetPack is expecting the Jetson to use wired ethernet.

---

<div class="post-metadata">

**Author:** ![alfred.qiao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@alfred.qiao](https://forums.developer.nvidia.com/u/alfred.qiao)\
**Post date:** [March 15, 2019, 2:57am UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/10 "2019-03-15T02:57:59Z")

</div>

My way to fix this,

Create a new ethernet connection with the virtual USB network card. Connect then ssh works to 192.168.55.1

---

<div class="post-metadata">

**Author:** ![rebecapraia4](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/rebecapraia4/32/99132_2.png) [@rebecapraia4](https://forums.developer.nvidia.com/u/rebecapraia4)\
**Post date:** [May 22, 2021, 3:59pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/11 "2021-05-22T15:59:21Z")

</div>

eu estou com problema no acesso remoto para o jupyterlab

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 18, 2021, 6:19pm UTC](https://forums.developer.nvidia.com/t/unable-to-build-up-connection-from-host-to-target-via-ssh/68387/12 "2021-10-18T18:19:29Z")

</div>

Closed on October 18, 2021, 6:19pm UTC


