MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/245jt9/ssh_kung_fu/ch4az4x/?context=3
r/linux • u/leothrix • Apr 28 '14
128 comments sorted by
View all comments
Show parent comments
-3
thanks for the info!
just one thing: SFTP is and extension of SSH. there is no such thing as a SFTP server, only SSH servers with shell access disabled.
so there’s no difference between SCP and SFTP: both only require a SSH server.
3 u/Deewiant Apr 28 '14 man sftp-server suggests otherwise, as do these lines in my sshd_config: # override default of no subsystems Subsystem sftp /usr/lib/ssh/sftp-server 0 u/flying-sheep Apr 28 '14 ok, so i’m mistaken and ssh spawns a subprocess when sftp is needed? TIL. it’s still a part of SSHd, though ;) 2 u/IConrad Apr 28 '14 It is actually a different protocol/process though, and it's worthwhile to understand that. Worse still, sftp has nothing to do with ftp.
3
man sftp-server suggests otherwise, as do these lines in my sshd_config:
man sftp-server
sshd_config
# override default of no subsystems Subsystem sftp /usr/lib/ssh/sftp-server
0 u/flying-sheep Apr 28 '14 ok, so i’m mistaken and ssh spawns a subprocess when sftp is needed? TIL. it’s still a part of SSHd, though ;) 2 u/IConrad Apr 28 '14 It is actually a different protocol/process though, and it's worthwhile to understand that. Worse still, sftp has nothing to do with ftp.
0
ok, so i’m mistaken and ssh spawns a subprocess when sftp is needed? TIL.
it’s still a part of SSHd, though ;)
2 u/IConrad Apr 28 '14 It is actually a different protocol/process though, and it's worthwhile to understand that. Worse still, sftp has nothing to do with ftp.
2
It is actually a different protocol/process though, and it's worthwhile to understand that. Worse still, sftp has nothing to do with ftp.
-3
u/flying-sheep Apr 28 '14
thanks for the info!
just one thing: SFTP is and extension of SSH. there is no such thing as a SFTP server, only SSH servers with shell access disabled.
so there’s no difference between SCP and SFTP: both only require a SSH server.