Re: Distinguishing ssh-logins from sftp-logins



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

.



Relevant Pages

  • Re: Einschraenkungsmoeglichkeiten bei sftp?
    ... Kann der sftp-server das selbst, ... aber einen SSH-Server in einer CHROOT- ... Als Shell kommt RSSH zum Einsatz. ... Zusätzlich wurden die Nutzer via "command" auf ein Kommando limitiert. ...
    (de.comp.security.misc)
  • Re: turning on sftp
    ... > mentioned its the sftp-server file that i don't recognize ... It has been a while since I compiled OpenSSH from source but IIRC the ... You may need to upgrade your OpenSSH. ... If you have a compiler and headers you can build your own OpenSSH and ...
    (comp.unix.solaris)
  • SSH, terminal I/O
    ... Is anybody interested in using openssh as a server on the HP3000, e.g. using sftp-server on the HP3000 or using the HP3000 for port-forwarding applications? ... Is anybody interested in using ssh (openssh) as an interactive client from the HP3000? ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: debug/log option when using sftp-server?
    ... if it is possible to have sftp-server tell what files ... it executes when a user connects to it? ... Depends on the version of OpenSSH. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: ok I got it working
    ... [sftp-server in OpenSSH] ... >Oops, my bad again... ... sftp-server was added 2000/08/31 and the sftp ... Good judgement comes with experience. ...
    (comp.security.ssh)