View Single Post
  #1 (permalink)  
Old 09-20-2009, 10:44 PM
factorial factorial is offline
Junior Member
 
Join Date: Nov 2008
Posts: 15
Default ssh disconnects immediately upon successful login

The title says it all. I recently put `exec screen -R` in my .bash_profile, and that's the only change I've made. I have disconnected/reconnected several times since then.

Specifically: I get a login prompt, type my username, type my valid password, and see my 'last login' message before the puTTY window closes. If I type the incorrect password I get 'access denied' and get to try again (no disconnect until I login).

OS: Fedora 9 I believe.

Any ideas?