Use The Scp Command - Digi Connect EZ Mini User Manual

Firmware version 22.2
Hide thumbs Also See for Connect EZ Mini:
Table of Contents

Advertisement

Command line interface
Note
For commands that operate on the Connect EZ's file system, such as the cp, ls, and mkdir
commands, see
File system
delete files and directories.

Use the scp command

The scp command uses Secure Copy Protocol (SCP) to transfer files between the Connect EZ device
and a remote host.
Required configuration items
The hostname or IP address of the remote host.
n
The username and password of the user on the remote host.
n
Whether the file is being copied to the Connect EZ device from a remote host, or to the remote
n
host from the Connect EZ device.
If the file is being copied to the Connect EZ device from a remote host:
l
The path and filename of the file on the remote host that will be copied to the Connect
o
EZ device.
o
The location on the Connect EZ device where the file will be copied.
If the file is being copied to a remote host from the Connect EZ device:
l
o
The path and filename of the file on the Connect EZ device that will be copied to the
remote host.
o
The location on the remote host where the file will be copied.
Copy a file from a remote host to the Connect EZ device
To copy a file from a remote host to the Connect EZ device, use the
> scp host hostname-or-ip user username remote remote-path local local-path to
local
where:
hostname-or-ip is the hostname or ip address of the remote host.
n
username is the name of the user on the remote host.
n
remote-path is the path and filename of the file on the remote host that will be copied to the
n
Connect EZ device.
local-path is the location on the Connect EZ device where the copied file will be placed.
n
For example:
To copy firmware from a remote host with an IP address of 192.168.4.1 to the /etc/config directory on
the Connect EZ device, issue the following command:
> scp host 192.168.4.1 user admin remote /home/admin/bin/Connect EZ-
22.2.9.85.bin local /etc/config/scripts to local
admin@192.168.4.1's password: adminpwd
Connect EZ-22.2.9.85.bin
>
Digi Connect EZ Mini User Guide
for information about the file system, including how to copy, move and
Use the scp command
scp
command as follows:
100%
36MB
11.1MB/s
00:03
618

Advertisement

Table of Contents
loading

Table of Contents