scp from remote

Prev Next

The scpFromRemote command is used to copy files from a remote location to /opt/scpfiles directory of the Linux based Manager.

Syntax:scpFromRemote <username> <remote_machine_ip> <filepath>

For scp from remote with a key: scpFromRemote -i <path/to/key> <user_name> <remote_machine-ip> <filepath>

Note

Ensure the key is FIPS compatible. To make the key FIPS compatible, refer to KB article KB94844.

The parameters for scpFromRemote command are as follows:

Parameters

Description

<user_name>

Login username for the remote machine

<remote_machine-ip>

IP address of the remote machine

<filepath>

File path in the remote machine for the file to be copied

<path/to/key>

File path in the Linux based Manager for the key

Sample Output:

IPSManager> scpFromRemote root 10.2.1.1 /root/infoLogs_2018_11_26_07_29_54.tar

FIPS mode initialized root 10.2.1.1 /root/infoLogs_2018_11_26_07_29_54.tar

root@10.2.1.1's password:

infoLogs_2018_11_26_07_29_54.tar 100% 6220KB 11.1MB/s 00:00

IPSManager> show files

infoLogs_2018_11_26_07_29_54.tar