How to Transfer MagicSpam Installation Package to Remote Server Using SCP

Moderators: wizard, magicspam

Post Reply
magicspam
Posts: 1563
Joined: Tue Oct 28, 2008 2:27 pm

How to Transfer MagicSpam Installation Package to Remote Server Using SCP

Post by magicspam » Fri Apr 08, 2022 3:23 pm

Overview

Secure Copy Protocol (SCP) is a command line utility used to securely transfer computer files between a local machine and a remote machine. In the case of MagicSpam, the Manual Installation process may require you to transfer the downloaded installation package from your local computer to your web panel / email server (cPanel, Plesk, etc).

Note

You can download the latest MagicSpam installation packages from our Downloads Site using your license key.
In this guide, you will learn how to use the SCP command to transfer the MagicSpam installation package from your local computer to your web panel / email server, including the following information:
  • Prerequisite
  • SCP Command Syntax
  • File Transfer Using SCP

Prerequisite

Before starting, make sure to have the following at hand:
  • the downloaded MagicSpam installation package on your local computer
  • access to the command line terminal on your local computer
  • the credentials to your web panel / email server (Server IP Address, Username, Password)

SCP Command Syntax

To transfer a file between a local machine and a remote machine, the SCP command syntax takes the following form:

Code: Select all

scp <local file> <remote user>@<remote host>:<remote file>
  • local file: the path to the file to transfer on the local machine
  • remote user: the user on the remote machine
  • remote host: the IP address of the remote machine
  • remote file (optional): the path to store the transferred file on the remote machine

Note

When the remote file parameter is not specified, the file will be transferred to the home directory of the remote user.
File Transfer Using SCP

The following is an step by step example on how to transfer a MagicSpam PRO for cPanel installation package from a local computer to a remote cPanel server.

The first step is to open a terminal on the local computer and run the SCP command with the correct parameters.

Code: Select all

scp /home/localuser/Downloads/magicspampro-cpanel-2.1-16.4-rhel764-cpnl11.x86_64.rpm remoteuser@X.X.X.X:
In this example, the installation package is located in the Downloads folder of the user on the local computer. Notice that the remote file parameter has not been specified, so the installation package will be transferred to the home directory of the remote user.

Then enter the password associated with the remote user when prompted.
remoteuser@X.X.X.X's password:
Once entered, the file transfer will begin and similar output will be shown on the terminal upon completion.
magicspampro-cpanel-2.1-16.4-rhel764-cpnl11.x 100% 1985KB 35.2MB/s 00:00
File Transfer Completed!

At this point, the MagicSpam PRO for cPanel installation package has been transferred from the local computer to the remote cPanel server and is located in the home directory of the remote user ready to be installed.

Note

For more information on how to install MagicSpam on your server, please refer to our MagicSpam Installation Guide.
-- MagicSpam Support Team --

Post Reply

Return to “Features Discussion and Guides”

Who is online

Users browsing this forum: No registered users and 2 guests