Bug 77599 - ssh hangs if home directory is not writeable
Summary: ssh hangs if home directory is not writeable
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openssh
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-10 08:51 UTC by santini
Modified: 2007-04-18 16:48 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-02-04 10:32:21 UTC


Attachments (Terms of Use)

Description santini 2002-11-10 08:51:43 UTC
Description of problem:
Trying to login to a user with a non writeable home directory result in ssh
hanging for indefinite time.

How reproducible:
Always

Steps to Reproduce:
1. Let foobar a user such that your key is in his authorized_keys
2. chmod a-w /home/foobar
3. ssh -v foobar@localhost
	
Actual Results:  ssh hanging after:

[...]
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug1: channel 0: open confirm rwindow 0 rmax 32768

Expected Results:  a normal login, since your key is listed in
~/foobar/.ssh/authorized_keys

Comment 1 Tomas Mraz 2005-02-04 10:32:21 UTC
Cannot reproduce on the current Fedora Core.



Note You need to log in before you can comment on or make changes to this bug.