Putty pscp Illegal file descriptor format error

0

1

i am trying to backup my checkpoint using putty pscp with the cmd:

pscp -r admin@<ip address>:/var/log/CPbackup/backups/R77/<file_name.tgz> D:\test_location_on_windows

I get the error:

Protocol error: Illegal file descriptor format

I tried looking around google for this, really couldn't find much.

Also it's worth mentioning if someone has doubts, checkpoint runs on GAIA OS which is just a linux at its core.

Appreciate any help.

allwynmasc

Posted 2016-03-28T03:50:51.513

Reputation: 111

Answers

1

I got this working after the following change.

The user I was using has /etc/cli.sh set as shell. SCP requires the user to have /bin/bash set as shell.

Then I created a new user for that and make sure you issue

"set user <username> shell /bin/bash" 

allwynmasc

Posted 2016-03-28T03:50:51.513

Reputation: 111