scp to checkpoint SPLAT


When you SCP to Checkpoint SPLAT firewall and get the error “lost connection”, this is what you may see
To activate scp file transfer with a CheckPoint SPLAT
[fw] scp cpinfo.tgz admin@192.168.1.1:The authenticity of host ‘xx.xx.xx.xx (xx.xx.xx.xx)’ can’t be established. RSA key fingerprint is 33:ff:72:0d:d6:57:53:16:d6:60:da:7e:f8:61:71:a8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ‘xx.xx.xx.xx’ (RSA) to the list of known hosts.admin@xx.xx.xx.xx’s password:lost connection
To resolve this do the following
1. change the admin shell from /bin/cpshell to /bin/bash
chsh adminChanging shell for admin. New shell [/bin/cpshell]: /bin/bash
Shell changed.
==> this will allow you winscp

2. create a new file “touch /etc/scpusers”
3. edit the file and add the users you want to allow for scp
echo admin >> /etc/scpusers

result:
cat /etc/scpusers
admin

4. restart the ssh service
service sshd restart
 ==> this will allow you scp

5. SCP to Checkpoint SPLAT
Under Windows : pscp cpinfo_911000113_1.tgz admin@IP_SPLAT:
Under Linux : scp cpinfo_911000113_1.tgz admin@IP_SPLAT:

Commentaires

Posts les plus consultés de ce blog

Check Point Splat monitoring SNMPv3

R75 ICA management tool unreachable