O shell scponly pode permitir o comando quota (se ativado). Mas parece que você tem o scponly configurado para suportar apenas o SFTP, com um acesso ao shell desaprovado.
O protocolo SFTP permite a verificação do espaço em disco (ao contrário do que outras respostas dizem).
Extraindo do SFTP - verifique o espaço livre disponível pergunta de stackoverflow.com:
SFTP protocol version 6 lets one check available space (
SSH_FXP_EXTENDEDrequest namespace-available). Most SSH/SFTP servers (notably OpenSSH, as the one the most widespread) support SFTP version 3 only though.OpenSSH on the other hand supports
[email protected]proprietary extension.
A extensão OpenSSH é suportada por alguns clientes SFTP.
-
Obviamente, pelo OpenSSH
sftpclient via o comandodf:df [-hi] [path]
Display usage information for the filesystem holding the current directory (or path if specified). If the-hflag is specified, the capacity information will be displayed using "human-readable" suffixes. The-iflag requests display of inode information in addition to capacity information. This command is only supported on servers that implement the ''[email protected]'' extension.sftp> df -h Size Used Avail (root) %Capacity 591GB 358GB 203GB 233GB 60% -
O WinSCP também oferece suporte a ele (consulte Diálogo de informações do servidor e do protocolo ):
(eu sou o autor do WinSCP)