User's Manual

Table Of Contents
AI7688H User Manual
-29-
Copyright@2016 AcSiP
6.6 Copying Files To the Board
# 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 root@mylinkit.local:/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://root@myLinkt.local 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.