[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Subsystem sftp /usr/lib/openssh/sftp-server im Debian-Paket



On Sun, 2 Jun 2013 21:21:25 +0200, Michael Strauß <mailms@mszet.de>
wrote:
>Am Thu, 30 May 2013 18:19:02 +0200
>schrieb Marc Haber <mh+debian-user-german@zugschlus.de>:
>> gesetzt. Der default ist internal-sftp, und viele Dokumentation im
>> Netz, in denen es darum geht, Useraccounts ausschließlich sftp zu
>> erlauben, sagen, man soll dies auf internal-sftp umstellen.
>> 
>> Warum ist es im Debian-Paket anders?
>
>Glaskugel:
>scp wird vom internal-sftp nicht unterstützt.

ist scp nicht etwas völlig anderes als internal-sftp?

Jedenfalls funktioniert ein scp auf einen Host mit subsystem sftp
internal-sftp problemlos:
|[2/501]mh@swivel:~$ scp cv.png june:
|cv.png                                        100%  203KB 203.0KB/s   00:00    
|[3/502]mh@swivel:~$ ssh june
|Linux june 3.9.2-zgsrv20080 #2 SMP PREEMPT Fri May 17 16:13:49 UTC 2013 x86_64
||[1/501]mh@june:~$ grep -i sftp /etc/ssh/sshd_config 
|# Special configuration to allow sftp-only setup for web upload
|# default: Subsystem sftp /usr/lib/openssh/sftp-server
|Subsystem sftp internal-sftp
|# Additional configuration to allow sftp-only setup for web upload
|Match Group sftponly
|        ForceCommand internal-sftp
|[2/502]mh@june:~$ 

Grüße
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


Reply to: