Moving Files in SCP Server

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Check Point - Moving Files using SCP

Method 1 

Even though this maybe more of an article for the Linux area, the only reason I came across this is try
output of a upgrade_export from my SPLAT box, so hence it being under Firewalls - Check Point.

If you keep getting prompted with a password box when trying to connect edit the following file on yo
Box /etc/passwd 

Change the shell for your login account from /bin/cpshell to /bin/bash

Note !! Make sure to change this back after copying the files across otherwise users will be able to con
into expert mode.

Or you can try this method,

Method 2 

1. Add the username of the firewall you are moving the file to, to a file /etc/scpusers

       2.  then on the device you want to tranfer the file from run, 

scp <file to transfer> remoteuser@remoteip:<remote location>

So if you wanted to do all of this in one line, then try (check before doing this that there isnt already a

echo admin > /etc/scpusers && scp myfile.txt admin@1.1.1.1:/tmp

This would create a scpusers file for the user admin, then tranfer the file myfile.txt to 1.1.1.1 to the fo

You might also like