Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
iannis12
Participant
Jump to solution

SCP disable - SSH open

Hi Folks,

I have an Open Server running Gaia R82 and some gateways. Our Security requested some hardening on the server. One question is: Can I disable scp on the server while leaving ssh open?

Thank you

0 Kudos
1 Solution

Accepted Solutions
Danny
MVP Platinum
MVP Platinum

If your Gaia login shell is Clish (Default), then SCP is only possible for dedicated scponly Accounts, which need to be manually created. So yes, you can disable SCP by leaving SSH open. You just need to verify that no login account has /bin/bash or /usr/bin/scponly configured as login shell. Btw, experienced linux users can transfer files via pure SSH. You can never avoid file transfers if you allow SSH.

View solution in original post

1 Reply
Danny
MVP Platinum
MVP Platinum

If your Gaia login shell is Clish (Default), then SCP is only possible for dedicated scponly Accounts, which need to be manually created. So yes, you can disable SCP by leaving SSH open. You just need to verify that no login account has /bin/bash or /usr/bin/scponly configured as login shell. Btw, experienced linux users can transfer files via pure SSH. You can never avoid file transfers if you allow SSH.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events