Is Shell access required in order for SCP to work


Author
Message
rmassart
rmassart
Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)Supreme Being (215 reputation)
Group: Forum Members
Posts: 21, Visits: 112
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
Tags
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)
Group: Moderators
Posts: 136, Visits: 639
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.

Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
kfchau
k
Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)Junior Member (11 reputation)
Group: Forum Members
Posts: 1, Visits: 1
I have the same issue

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

Any hints?
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)
Group: Moderators
Posts: 136, Visits: 639
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.


Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
rostant
r
Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)
Group: Forum Members
Posts: 3, Visits: 3
I have the same issue

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

Any hints?
Edited 5 Years Ago by rostant
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)Pragmateer (1.2K reputation)
Group: Moderators
Posts: 136, Visits: 639
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

Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
rostant
r
Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)Forum Member (33 reputation)
Group: Forum Members
Posts: 3, Visits: 3
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search