Intel® Simics® Simulator for Intel® FPGAs: User Guide

ID 784383
Date 4/01/2024
Public
Document Table of Contents

7.2.2.1.2. Transferring Files with SCP from Target System to Host PC via NAPT

As an alternative to SCP transfer file from target system to host PC using outgoing forwarding ports, you also can do it via NAPT. In this case, the Intel® Simics® service node working as gateway automatically redirects the outgoing traffic to the host PC. In the following example, a file is transferred using the host PC IP address in the SCP command. Here, it is assumed that NAPT set up has been already performed.

# Target Serial Console

root@psgdevice:~# scp target2host.txt \ 
simicsUser@10.122.105.138:/home/simicsUser/SimicsInstallDir/project-1/

simicsUser@10.122.105.138's password: 
targetFile.txt                                100%   23    56.9KB/s   00:00    
root@psgdevice:~#