Re: Distinguishing ssh-logins from sftp-logins
- From: "mog128" <mattes.opel@xxxxxx>
- Date: 29 May 2006 11:34:58 -0700
Hey,
thank you both for your interesst.
I've tried using /bin/false or /dev/null as shell for non-ssh users,
but experienced that the sftp-server did not execute correctly. I think
putting something like "SubSystem '/bin/sh /PATH/TO/sftp-server'" in
shhd_config would do the job. I took my hands from it, because of some
specialities specific to my system.
I've found a way using rssh. Works pretty nice and configuration is
very flexible. Also the mkchroot.sh script created a working chroot for
me.
I didn't know that rssh is a replacement shell, I thought it was a
service.
Does somebody know, how to hide the dot files, when accessing by
sftp-server? I'm using openssh 3.8.1.
Greetings from Hamburg,
Mattes Opel
.
- Follow-Ups:
- Re: Distinguishing ssh-logins from sftp-logins
- From: Richard E. Silverman
- Re: Distinguishing ssh-logins from sftp-logins
- References:
- Distinguishing ssh-logins from sftp-logins
- From: mog128
- Re: Distinguishing ssh-logins from sftp-logins
- From: Stéphane ROCHOY
- Distinguishing ssh-logins from sftp-logins
- Prev by Date: Re: router access through ssh
- Next by Date: Re: Distinguishing ssh-logins from sftp-logins
- Previous by thread: Re: Distinguishing ssh-logins from sftp-logins
- Next by thread: Re: Distinguishing ssh-logins from sftp-logins
- Index(es):
Relevant Pages
|
|