Unable to use sftp(1) when user shell is rksh(1)
(Doc ID 1374511.1)
Last updated on APRIL 24, 2020
Applies to:Solaris Operating System - Version 10 9/10 U9 to 11 11/11 [Release 10.0 to 11.0]
Information in this document applies to any platform.
Checked for relevance on 2013/05/05.
Running "sftp" on a SSH client becomes unsuccessful and gets the "Connection closed" message when the target user is using "rksh" as its login shell on the SSH server.
testuser: x:1101:10:Test User:/home/testuser:/usr/bin/rksh
Connecting to 192.168.1.2
Patch 145044-03 (Solaris 10 Sparc) or 145045-03 (Solaris 10 X86) has changed "rksh" to correctly enforce restrictions on command executions.
Patch-ID# 145044-03 Synopsis: SunOS 5.10: ksh pfksh rksh xargs sh patch
Patch-ID# 145045-03 Synopsis: SunOS 5.10_x86: ksh pfksh rksh xargs sh patch
145044-03 or 145045-03 and above fixes the following bug:
Bug 15010761 CR# 4302187 rksh allows user to run commands with '/' in them: regression via 1262257
the bugfix is also in Solaris 8 and Solaris 9
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document