Pragma Systems Technical Forum

Is Shell access required in order for SCP to work

https://forums.pragmasys.com/Topic366.aspx

By rmassart - 7/12/2017 12:57:58 AM

We are trying to turn on SCP. But we get an error message about shell access. Do we need to configure "Allow Logon/Shell access" in the Access Control tab in order for SCP to work?

Thanks,
Robin
By Technical Support Group (TSG) - 2/15/2018 1:29:23 PM

Hello,

You do not need shell access for scp access. Please make sure that you are testing with scp client and not a ssh client.

Only a ssh client will request shell access.
By kfchau - 4/11/2018 5:26:00 AM

I have the same issue

SFTP works 
SCP failed with below message
   "exec request failed on channel 0
    lost connection"

Any hints?
By Technical Support Group (TSG) - 4/11/2018 8:49:56 AM

kfchau - 4/11/2018 11:26:00 AM
I have the same issue

SFTP works 
SCP failed with below message
   "exec request failed on channel 0
    lost connection"

Any hints?

Hello,

Please check the server event log, accessible from the Logging page of the Local Server Configuration program, for an error event at the time of the failed connection. The details of the event should explain why you cannot connect.

Make sure that you have turned on SCP access on the Access Control page. Also make sure that if you are using either or both of the restricted access on the SCP Users or SCP Groups page that your user is a member of each page that you have restricted. In other words, if you have checked the "Only allow configured users/groups access via scp" that your user is either a listed user or a member of a configured group. If both options are checked, then the user must be in both lists.
By rostant - 11/24/2019 2:32:35 AM

I have the same issue

SFTP works
SCP failed with below message
 "exec request failed on channel 0
  lost connection"

Any hints?
By Technical Support Group (TSG) - 11/25/2019 6:43:15 AM

rostant - 11/24/2019 8:32:35 AM
I have the same issue

SFTP works
SCP failed with below message
 "exec request failed on channel 0
  lost connection"

Any hints?

Did you check our event log for any error event? Also check the Application event log for any Application Manager events at the time of the failed connection
By rostant - 12/21/2019 5:49:11 AM

Did you check our event log for any error event? Also check the Application event log for any Application Manager events at the time of the failed connection