Re: Difference between SCP and SFTP ?

From: Richard E. Silverman (res_at_qoxp.net)
Date: 03/02/05


Date: 02 Mar 2005 15:51:09 -0500


>>>>> "sky" == sky diver <sky_diver_@excite.com> writes:

    sky> David, just for clarification, are you saying that a command
    sky> shell is not required with sftp?

It depends on the server implementation. Many servers execute all
programs on the user's behalf with $SHELL -c, and furthermore the sftp
server is often an external program run via this mechanism. However, it
need not be so -- for example, the Tectia sshd2 has a built-in sftp
subsystem (as well as an external program which can be used).

Of course, this is all independent of whether some prior, separate check
is made for a "valid" shell for login authorization, e.g. via PAM and
getusershell(3).

-- 
  Richard Silverman
  res@qoxp.net


Relevant Pages

  • [HPADM] SUMMARY Restricted SFTP without user being able to SSH into server
    ... they suggestions did not fit the desired security level. ... Setup a chroot environment for sftp. ... this script as the shell for the account. ... When I do an sftp to that server, I get a message "illegal user XYZ from ...
    (HP-UX-Admin)
  • Re: Being a shell provider - good business?
    ... Where you got that idea that Israel kidnap suspects? ... Being a shell provider - good business? ... we have our shell accounts on a separate server ... snag a child porno guy who will setup an irc bot to trade underage ...
    (freebsd-questions)
  • Re: SPAM sudden increase
    ... > Dude was on a tech call with f-secure and the tech asked, "So, ... dude is trying to FTP to their server using WSFTP. ... but I think he is talking about sftp protocol - FTP via ...
    (alt.2600)
  • Re: Pine Server installation Recommendation
    ... who will give you a shell account with no bandwidth restrictions ... for much less money than getting a dedicated virtual server type deal. ... Provider 1 has a reasonable price, pine access via ssh but has only ... When you read the Infinite Ink Pine pages by Nancy (great pages Nancy, ...
    (comp.mail.pine)
  • Re: CGI apps in C?
    ... This would be used if you want to run "find" or some other shell ... server and settled on running PHP apps using fastcgi + suexec. ... Each user can then customise their config, ... information for each CGI execution. ...
    (freebsd-isp)

Quantcast