Installing Jetpack 3.1 failed on Jetson TX2

I have downloaded Jetpack latest version from Nvidia website to install it on my TX2.

here is my setup:
My PC is connected to Internet via LAN connection.
TX2 is connected to the PC via LAN connection using Network card.

After installing Ubuntu, Jetpack fails due to a permission denied error.

161.4459 ] […] 199%
161.5186 1
161.5292 ] tegradevflash_v2 -write MBl_BCT_b mb1_cold_boot_bct_MBl_sigheader.
Ibct.encrypt
161.5218 ] Bootloader version 01.00.0099
161.5240 ] Writing partition MBl_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bc
t.encrypt
I[ 161.5257 ] […] 109%
161.5882
161.5882 ] Flashing completed
161.5883 ] Coldbooting the device
161.5999 ] tegradevflash_v2 -reboot coldboot
161.5914 ] Bootloader version 01.00.0000
1[ 161.5978 1
The target t186ref has been flashed successfully.
Reset the board to boot from internal eMMC.
root 5724 0.1 9.9 265364 3590 ? Ssl 17:41 0:02 /home/azim_se/M
yProjects/JETSON-TX2/JetPack/_installer/sudo_daemon -installer=1 -d=/home/azim_s
ie/MyProjects/JETSON-TX2/JetPack/_installer/tmp

l/home/azim_se/MyProjects/JETSON-TX2/JetPack//_installer/run_command -c=“mv /hom
e/azim_se/MyProjects/JETSON-TX2/JetPack/64_TX2/Linux_for_Tegra/rootfs/etc/rc.loc
al.original /home/azim_se/MyProjects/JETSON-TX2/JetPack/64_TX2/Linux_for_Tegra/r
ootfs/etc/rc.local” -d=/home/azim_se/MyProjects/JETSON-TX2/JetPack//_installer/t
mp
I 1
Finished Flashing OS
Determining the IP address of target…
10.0.0.2
I Waiting 39 seconds to make sure target is fully up
DEBUG: echo GetValueToInfoBroker: key = Install_Dir, value = /home/azim_se/MyPr
ojects/JETSON-TXZ/JetPack >> /tmp/jetpack_debug.log
DEBUG: mkdir -p /.ssh
mkdir: cannot create directory ‘/.ssh’: Permission denied
DEBUG: touch /.ssh/known_hosts
touch: cannot touch ‘/.ssh/known_hosts’: No such file or directory
gDEBUG: ssh-keygen -q -N “” -f / ssh/id_rsa
Saving key “/.ssh/id_rsa” failed: No such file or directory
DEBUG: ssh-keygen -R 19.9.9.2
1# Host 10.0.0.2 found: line 28
home/azim_se/.ssh/known_hosts updated.
IOriginal contents retained as /home/azim_se/.ssh/known_hosts.old
IDEBUG: ssh-keyscan 10.0.0.2>>/.ssh/known_hosts
‘lbin/bash: /.ssh/known_hosts: No such file or directory
“DEBUG: echo
iDEBUG: ssh-add /.ssh/id_rsa 9<&-
i/.ssh/id_rsa: No such file or directory
scp -F /dev/null -o PubkeyAuthentication=no -o ConnectTimeout=30 -o StrictHostKe
yChecking=no /.ssh/id_rsa.pub nvidia@10.0.0.2:/home/nvidia/tmp.pub
0.0.2’5
l/.ssh/id_rsa.pub: No such file or directory
‘mv: cannot stat ‘/home/nvidia/tmp.pub’: No such file or directory
Invidia@tegra-ubuntu:~$
anidia©tegra~ubuntu:~$ exit
qlogout
“Connection to 19.9.9.2 closed.

I think you must install ssh then config it first!
Your log showed the problem came from ssh. You may try connect ssh to tegra device 10.0.0.2 using username and password: “ubuntu” or “nvidia” (username is same as password)

TX2 is connected to the PC via LAN connection using Network card.
->> I am not sure what does this mean, could you share more detail? Does your tx2 connect to host pc or connect to a router?

mkdir: cannot create directory ‘/.ssh’: Permission denied
→ It looks like the owner of your device is wrong. Could you share below info to use?

~/Documents/JetPack3.2/64_TX2/Linux_for_Tegra$ ll
total 156
drwxr-xr-x  6 waywang waywang  4096  5月 29 17:04 ./
drwxrwxr-x  3 waywang waywang  4096  5月  3 13:42 ../
-rwxr-xr-x  1 waywang waywang 26172  3月  2 12:55 apply_binaries.sh*
drwxr-xr-x  6 waywang waywang  4096  5月  4 15:02 bootloader/
-rwxr-xr-x  1 waywang waywang  2619  3月  2 12:55 build_l4t_bup.sh*
-rwxr-xr-x  1 waywang waywang 60037  3月  2 12:55 flash.sh*
lrwxrwxrwx  1 waywang waywang    22  3月  2 12:55 jetson-tx2.conf -> p2771-0000-devkit.conf
lrwxrwxrwx  1 waywang waywang    20  3月  2 12:55 jetson-tx2i.conf -> p2771-3489-ucm1.conf
drwxr-xr-x  4 waywang waywang  4096  3月  2 12:57 kernel/
drwxr-xr-x  3 waywang waywang  4096  3月  2 12:57 nv_tegra/
-rw-r--r--  1 waywang waywang  8554  3月  2 12:55 p2771-0000.conf.common
-rw-r--r--  1 waywang waywang  1742  3月  2 12:55 p2771-0000-devkit.conf
-rw-r--r--  1 waywang waywang  1832  3月  2 12:55 p2771-0000-dsi-hdmi-dp.conf
-rw-r--r--  1 waywang waywang  2276  3月  2 12:55 p2771-3489-ucm1.conf
-rw-r--r--  1 waywang waywang  2214  3月  2 12:55 p2771-3489-ucm2.conf
drwxr-xr-x 21 root    root     4096  5月  3 13:43 rootfs/
-rwxr-xr-x  1 waywang waywang  9349  3月  2 12:55 source_sync.sh*