{"id":86,"date":"2008-09-04T13:55:21","date_gmt":"2008-09-04T13:55:21","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2008\/09\/04\/checkpoint-moving-files-using-scp\/"},"modified":"2021-07-24T19:30:41","modified_gmt":"2021-07-24T19:30:41","slug":"checkpoint-moving-files-using-scp","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Firewalls\/Check-Point\/checkpoint-moving-files-using-scp.html","title":{"rendered":"Check Point – Moving Files using SCP"},"content":{"rendered":"
Even though this maybe more of an article for the Linux area, the only reason I came across this is trying to move the output of a upgrade_export from my SPLAT box, so hence it being under Firewalls – Check Point.<\/p>\n
If you keep getting prompted with a password box when trying to connect edit the following file on your SPLAT Box \/etc\/passwd<\/p>\n
Change the shell for your login account from \/bin\/cpshell to \/bin\/bash<\/p>\n
Note !! Make sure to change this back after copying the files across otherwise users will be able to connect straight into expert mode.<\/p>\n
Or you can try this method,<\/p>\n
scp <file to transfer> remoteuser@remoteip:<remote location><\/span><\/p>\n So if you wanted to do all of this in one line, then try (check before doing this that there isnt already a scpusers file),<\/p>\n echo admin > \/etc\/scpusers && scp myfile.txt admin@1.1.1.1:\/tmp<\/p>\n This would create a scpusers file for the user admin, then tranfer the file myfile.txt to 1.1.1.1 to the folder \/tmp.<\/p>\n","protected":false},"excerpt":{"rendered":" Method 1 Even though this maybe more of an article for the Linux area, the only reason I came across this is trying to move the 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 … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"yoast_head":"\n