Bug 77599

Summary: ssh hangs if home directory is not writeable
Product: [Retired] Red Hat Linux Reporter: santini
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-04 10:32:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.