"Sftp-server와 internal-sftp 차이"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 13개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
{{소문자}}
{{소문자}}
;sftp-server과 internal-sftp
;sftp-server와 internal-sftp 차이
* 둘다 OpenSSH 패키지에 들어 있다.
* 둘다 [[OpenSSH]] 패키지에 들어 있다.
* 근본 소스<ref>https://github.com/openssh/openssh-portable/blob/master/sftp-server.c</ref>는 같으므로 기본 기능은 거의 같다.
* 근본 소스<ref>https://github.com/openssh/openssh-portable/blob/master/sftp-server.c</ref>는 같으므로 기본 기능은 거의 같다.
* 차이점은...
* 차이점은...
9번째 줄: 9번째 줄:
! sftp-server
! sftp-server
|
|
* 독립형 바이너리<ref>https://github.com/openssh/libopenssh/blob/b345cb35c86f6fd6707a4436d8b55fba41ff193f/ssh/sftp-server/Makefile</ref>
* 독립형 바이너리(실행파일)<ref>https://github.com/openssh/libopenssh/blob/b345cb35c86f6fd6707a4436d8b55fba41ff193f/ssh/sftp-server/Makefile</ref>
* 리눅스 기본 설정은 보통 이것으로 되어 있다.
* 리눅스 기본 설정은 보통 이것으로 되어 있다.
* /usr/libexec/sftp-server<ref>https://github.com/openssh/openssh-portable/blob/90e51d672711c19a36573be1785caf35019ae7a8/sshd_config#L109</ref>
* 2000년, OpenSSH 2.3.0부터 적용되었다.<ref name='releasenotes'>https://www.openssh.com/releasenotes.html</ref>
* /usr/lib/openssh/sftp-server<ref>데비안 9</ref>
* 파일 위치는 다음 중 하나이다.
* /usr/libexec/openssh/sftp-server
:/usr/lib/ssh/sftp-server<ref>알파인 리눅스 3.11</ref>
:/usr/libexec/sftp-server<ref>https://github.com/openssh/openssh-portable/blob/90e51d672711c19a36573be1785caf35019ae7a8/sshd_config#L109</ref>
:/usr/lib/openssh/sftp-server<ref>데비안 9, 10</ref>
:/usr/libexec/openssh/sftp-server
|-   
|-   
! internal-sftp
! internal-sftp
|
|
* sshd 내부에 포함된 모듈을 사용한다.<ref>https://github.com/openssh/libopenssh/blob/b345cb35c86f6fd6707a4436d8b55fba41ff193f/ssh/sshd/Makefile#L18</ref>
* sshd 내부에 포함된 모듈을 사용하므로 별도의 실행파일이 없다.<ref>https://github.com/openssh/libopenssh/blob/b345cb35c86f6fd6707a4436d8b55fba41ff193f/ssh/sshd/Makefile#L18</ref>
* 2008년,OpenSSH 4.8부터 적용되었다.<ref>https://www.openssh.com/releasenotes.html</ref>
* 2008년, OpenSSH 4.8부터 적용되었다.<ref name='releasenotes' />
* 별도의 특별한 설정 없이 sshd_config를 통해 chroot 환경을 구성할 수 있다.
* [[sshd_config]] 설정을 통해 비교적 간단하게 chroot 환경을 구성할 수 있다. ★★
|}
|}


30번째 줄: 33번째 줄:


[[분류: OpenSSH]]
[[분류: OpenSSH]]
[[분류: SFTP]]

2022년 7월 30일 (토) 13:05 기준 최신판

1 개요[ | ]

sftp-server와 internal-sftp 차이
  • 둘다 OpenSSH 패키지에 들어 있다.
  • 근본 소스[1]는 같으므로 기본 기능은 거의 같다.
  • 차이점은...
sftp-server
  • 독립형 바이너리(실행파일)[2]
  • 리눅스 기본 설정은 보통 이것으로 되어 있다.
  • 2000년, OpenSSH 2.3.0부터 적용되었다.[3]
  • 파일 위치는 다음 중 하나이다.
/usr/lib/ssh/sftp-server[4]
/usr/libexec/sftp-server[5]
/usr/lib/openssh/sftp-server[6]
/usr/libexec/openssh/sftp-server
internal-sftp
  • sshd 내부에 포함된 모듈을 사용하므로 별도의 실행파일이 없다.[7]
  • 2008년, OpenSSH 4.8부터 적용되었다.[3]
  • sshd_config 설정을 통해 비교적 간단하게 chroot 환경을 구성할 수 있다. ★★

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}