Re: Distinguishing ssh-logins from sftp-logins
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 30 May 2006 18:00:45 -0400
"MO" == mog128 <mattes.opel@xxxxxx> writes:
MO> Hey, thank you both for your interesst.
MO> I've tried using /bin/false or /dev/null as shell for non-ssh
MO> users, but experienced that the sftp-server did not execute
MO> correctly.
That's because sshd uses the remote account's shell to run any programs on
the user's behalf ($SHELL -c ...).
--
Richard Silverman
res@xxxxxxxx
.
- References:
- Distinguishing ssh-logins from sftp-logins
- From: mog128
- Re: Distinguishing ssh-logins from sftp-logins
- From: Stéphane ROCHOY
- Re: Distinguishing ssh-logins from sftp-logins
- From: mog128
- Distinguishing ssh-logins from sftp-logins
- Prev by Date: Re: Command/Alias not found after login to remote host
- Next by Date: Re: looking for simple proxy s/w (to forward requests from external computer)
- Previous by thread: Re: Distinguishing ssh-logins from sftp-logins
- Next by thread: Problems with the free Tectia "SSH secure shell"-Client
- Index(es):
Relevant Pages
|
|