Use The Scp Command - Digi IX10 User Manual

Hide thumbs Also See for IX10:
Table of Contents

Advertisement

Command line interface
Note
For commands that operate on the IX10's file system, such as the cp, ls, and mkdir commands,
see
File system
for information about the file system, including how to copy, move and delete files and
directories.

Use the scp command

The scp command uses Secure Copy Protocol (SCP) to transfer files between the IX10 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 IX10 device from a remote host, or to the remote host
n
from the IX10 device.
If the file is being copied to the IX10 device from a remote host:
l
The path and filename of the file on the remote host that will be copied to the IX10
o
device.
The location on the IX10 device where the file will be copied.
o
If the file is being copied to a remote host from the IX10 device:
l
The path and filename of the file on the IX10 device that will be copied to the remote
o
host.
The location on the remote host where the file will be copied.
o
Copy a file from a remote host to the IX10 device
To copy a file from a remote host to the IX10 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
IX10 device.
local-path is the location on the IX10 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 IX10 device, issue the following command:
> scp host 192.168.4.1 user admin remote /home/admin/bin/IX10-20.11.32.138.bin
local /etc/config/ to local
admin@192.168.4.1's password: adminpwd
IX10-20.11.32.138.bin
>
IX10 User Guide
scp
command as follows:
100%
36MB
11.1MB/s
Use the scp command
00:03
571

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents