Affichage des articles du janvier, 2012

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@ 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 connectionTo 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
cat /etc/scpusers
4. restart the ssh service service sshd restart  ==> this will allow you scp
5. SCP to Checkpoint SPLAT Under Wi…