Greets everyone-
I have a redhat 9 chroot'ed box all set up and running with one issue.
SFTP and SCP both hang at the password prompt. SSH runs perfectly, and
with a hosts file in the chroot, I can ssh anywhere. However when I SFTP
or SCP to the box, I get prompted for my password, it appears to accept
it, and then hangs. I have checked the ssh and sftp-server binary against
ldd to be sure I have all the libraries I need, and I can't figure out
what I'm missing. I've also run strace on the server, and everything
looks as can be expected, although there isn't much strace output at the
point where it hangs. This is the output from sftp -v (starting at the
password prompt, until the point it hangs):
user@host's password:
debug1: ssh-userauth2 successful: method password
debug1: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending subsystem: sftp
debug1: channel request 0: subsystem
debug1: channel 0: open confirm rwindow 0 rmax 32768
I can send more output from the server side, although neither appear to be
all that useful. It looks exactly the same as a non-chroot'ed user,
except the chroot'ed users connection hang at the passwd prompt.
/var/log/messages say the user has logged in successfully. I'm totally
stuck.
Any suggestions or information would be *greatly* appreciated.
-=Aaron
|