-31-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
7
Copying Files To the Board
7.1
Using SCP
SCP in OS X and Linux
scp command line tool should be already installed and ready to use. If it is not
installed, you can use package managers such as MacPorts or Homebrew to
install it. To use SCP, open the Terminal and issue following command:
scp ./helloworld [email protected]:/example/helloworld
In the above example, a file named helloworld from the current directory is
copied to the path /example/helloworld in AI7688H. The SCP tool will instruct
you to enter the Password of root account.
Using SCP to copy files in Windows
You can download tools that support SCP protocol. WinSCP is used in this guide.
It provides both GUI and command line interfaces.
To use command line interface, type the following command in the Windows
command line console:
winscp.com –hostkey="*" scp://[email protected] helloworld.py
This copies the helloworld.py file to the home directory of the root account.
Note that by default it requires user to explicitly designate the host key of
remote server, so we need to explicitly allow unknown host key by adding the
-hostkey="*" parameter.