bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:52 UTC
[Bug 1852] New: Jail Root SCP not workling
https://bugzilla.mindrot.org/show_bug.cgi?id=1852
Summary: Jail Root SCP not workling
Product: Portable OpenSSH
Version: 5.1p1
Platform: amd64
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: scp
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: fr.fr at vr-web.de
Created attachment 1985
--> https://bugzilla.mindrot.org/attachment.cgi?id=1985
SSHD Config
Hi,
I configured OpenSSH on our company Box with a Jail Root,
Now I'am able to access this Server with SSH and SFTP but
if I try scp I get an unknwon user <userid> message.
I'll attach all log file summery I could get for you.
Thany you for every hint.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:52 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852
Thomas <fr.fr at vr-web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Jail Root SCP not workling |Jail Root SCP not working
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:53 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852 --- Comment #1 from Thomas <fr.fr at vr-web.de> 2011-02-03 05:53:04 EST --- Created attachment 1986 --> https://bugzilla.mindrot.org/attachment.cgi?id=1986 SCP Output (Debug Mode) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:53 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852 --- Comment #2 from Thomas <fr.fr at vr-web.de> 2011-02-03 05:53:24 EST --- Created attachment 1987 --> https://bugzilla.mindrot.org/attachment.cgi?id=1987 SFTP Output -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:54 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852 --- Comment #3 from Thomas <fr.fr at vr-web.de> 2011-02-03 05:54:03 EST --- Created attachment 1988 --> https://bugzilla.mindrot.org/attachment.cgi?id=1988 SSH Output -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:54 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852 --- Comment #4 from Thomas <fr.fr at vr-web.de> 2011-02-03 05:54:31 EST --- Created attachment 1989 --> https://bugzilla.mindrot.org/attachment.cgi?id=1989 SSHD (Messages File) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:54 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852 --- Comment #5 from Thomas <fr.fr at vr-web.de> 2011-02-03 05:54:55 EST --- Created attachment 1990 --> https://bugzilla.mindrot.org/attachment.cgi?id=1990 Jail Filelist -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 18:55 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852 --- Comment #6 from Thomas <fr.fr at vr-web.de> 2011-02-03 05:55:26 EST --- - OS: SuSE Enterprise Server 11 SP 1 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Feb-02 20:22 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852
Thomas <fr.fr at vr-web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #7 from Thomas <fr.fr at vr-web.de> 2011-02-03 07:22:46 EST
---
Hi,
the Problem is solved. A lib was missing. strace whoami helped to solve
it.
Here is the current Filelist in my Jail.
May be the Manpage shoud contain a section with the mininum Files for
sftp ssh and scp. Just as a hint.
./aquota.group~
./etc/nsswitch.conf
./etc/ld.so.cache
./etc/group
./etc/passwd
./aquota.user~
./aquota.group
./aquota.user
./bin/cp
./bin/rm
./bin/ln
./bin/groups
./bin/cat
./bin/ls
./bin/id
./bin/mv
./bin/dd
./bin/bash
./bin/su
./usr/bin/ssh-add
./usr/bin/ssh-copy-id
./usr/bin/ssh-agent
./usr/bin/ssh-keygen
./usr/bin/scp
./usr/bin/ssh-keyconverter
./usr/bin/ssh
./usr/bin/ssh-keyscan
./usr/bin/whoami
./usr/share/locale/locale.alias
./usr/lib64/libltdl.so.7
./usr/lib64/libkrb5.so.3
./usr/lib64/libk5crypto.so.3
./usr/lib64/libscconf.so.2
./usr/lib64/libkrb5support.so.0
./usr/lib64/libcrypto.so.0.9.8
./usr/lib64/libgssapi_krb5.so.2
./usr/lib64/ssh/sftp-server
./usr/lib64/ssh/ssh-keysign
./usr/lib64/ssh/ssh-askpass
./usr/lib64/ssh/x11-ssh-askpass
./usr/lib64/libopensc.so.2
./usr/lib64/libopenct.so.1
./lib64/libkeyutils.so.1
./lib64/libattr.so.1
./lib64/libnss_compat.so.2
./lib64/libselinux.so.1
./lib64/libutil.so.1
./lib64/libcom_err.so.2
./lib64/librt.so.1
./lib64/libpam_misc.so.0
./lib64/libncurses.so.5
./lib64/libacl.so.1
./lib64/libresolv.so.2
./lib64/libnsl.so.1
./lib64/libaudit.so.0
./lib64/libz.so.1
./lib64/libdl.so.2
./lib64/libreadline.so.5
./lib64/libpam.so.0
./lib64/libcrypt.so.1
./lib64/libc.so.6
./lib64/ld-linux-x86-64.so.2
./lib64/libpthread.so.0
./sbin/ldconfig
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 05:33 UTC
[Bug 1852] Jail Root SCP not working
https://bugzilla.mindrot.org/show_bug.cgi?id=1852
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #8 from Damien Miller <djm at mindrot.org> 2011-09-06 15:33:08
EST ---
close resolved bugs now that openssh-5.9 has been released
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
Seemingly Similar Threads
- Backspace key does not work in a ssh chroot jail
- [OT]: scp setup jailed chroot on Centos7
- problem stoping jails with jail(8), jail.conf and mount.fstab
- scp setup jailed chroot on Centos7
- /etc/rc.d/jail: losing IPs if jail_x_interface set and syntax error in jails /etc/rc?