bugzilla-daemon at mindrot.org
2002-Nov-18 18:46 UTC
[Bug 438] SFTP does not work for users with RSH shells
http://bugzilla.mindrot.org/show_bug.cgi?id=438 ------- Additional Comments From mouring at eviladmin.org 2002-11-19 05:46 ------- if the user logs in and types /path/to/sftp-server does he/she get an error? If rsh is impeeding running the command then it is a rsh issue and not a sftp issue. - Ben ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
rsh and friends (rksh, rcsh, etc) do not allow "/" in commands, hence the problem. The normal solution is to ln all of the appropriate commands into the user's path, but in this case, that probably means modifing sshd_config to not be fully pathed (assuming that doesn't break anything and all other users also have it in their compiled in paths). Jason Lacoss-Arnold St. Louis, MO USA ----- Original Message ----- From: bugzilla-daemon at mindrot.org Date: Monday, November 18, 2002 12:46 pm Subject: [Bug 438] SFTP does not work for users with RSH shells> http://bugzilla.mindrot.org/show_bug.cgi?id=438 > > > > > > ------- Additional Comments From mouring at eviladmin.org 2002-11-19 > 05:46 ------- > if the user logs in and types /path/to/sftp-server does he/she > get an error? > If rsh is impeeding running the command then it is a rsh issue and > not a sftp > issue. > > - Ben > > > > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > _______________________________________________ > openssh-unix-dev at mindrot.org mailing list > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >-------------- next part -------------- A non-text attachment was scrubbed... Name: "alchemst.vcf Type: text/x-vcard Size: 192 bytes Desc: Card for Jason Arnold <alchemst at mysun.com > Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20021118/1eedae44/attachment.vcf
bugzilla-daemon at mindrot.org
2002-Nov-18 20:25 UTC
[Bug 438] SFTP does not work for users with RSH shells
http://bugzilla.mindrot.org/show_bug.cgi?id=438 ------- Additional Comments From bmzoueit at hewitt.com 2002-11-19 07:25 ------- when running the sftp-server with the path specified, we get the "restricted" error... $ /apps/ssh/current/libexec/sftp-server rsh: /apps/ssh/current/libexec/sftp-server: restricted but when running it without specifying the path, it works.. $ sftp-server ^C $ sounds like its an rsh issue.. any ideas on top of your head? Thanks, Bassel. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Nov-18 22:53 UTC
[Bug 438] SFTP does not work for users with RSH shells
http://bugzilla.mindrot.org/show_bug.cgi?id=438 ------- Additional Comments From mouring at eviladmin.org 2002-11-19 09:53 ------- Only advice I can give you. Is make sure that sftp-server is in the core system path and change: sshd_config: # override default of no subsystems Subsystem sftp /path/to/sftp-server to: # override default of no subsystems Subsystem sftp sftp-server - Ben ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.