Timeline for SSH not landing in the home directory
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 21, 2012 at 9:14 | comment | added | Shadur-don't-feed-the-AI | Also, what is the ownership of /home/user? | |
| Sep 8, 2012 at 22:44 | comment | added | cas | also, i just noticed that you said the prompt says ... /home $. did you check if that's correct? it might just be a problem with your prompt string, $PS1 . run pwd to print the current working directory name. | |
| Sep 8, 2012 at 22:42 | comment | added | cas | also, what happens when you type cd and hit enter (it should take you to your home dir). | |
| Sep 8, 2012 at 22:41 | comment | added | cas | very odd. have you checked your log file to see if there are any error/warning messages from sshd? try /var/log/messages, /var/log/syslog and/or /var/log/auth.log | |
| Sep 8, 2012 at 12:15 | comment | added | Pere Tuset | The directory /home/user exists with permissions 755. In addition to that the /etc/passwd file contains an entry that looks like the following: user:x:1000:1000:User:/home/user:/bin/bash. To me everything looks fine, but still when I login from ssh I get a prompt that looks like user@raspberrypi /home $. Any further ideas? | |
| Sep 8, 2012 at 11:24 | history | edited | cas | CC BY-SA 3.0 | edited body |
| Sep 8, 2012 at 11:18 | history | answered | cas | CC BY-SA 3.0 |