Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 23, 2005, 11:09 pm
rate this thread
nonexistent home directories. If I telnet in, then /.profile is
executed. If I use ssh then an error about the home directory appears
and /.profile is not executed. I know sshd is assuming the home
directory is therefore / because it will execute /.ssh/rc
I would like the /.profile to be executed for people with no home
directory just like telnet does. Any ideas?
Re: SSH with no home directory
Executing .profile and friends is a function of the shell not of sshd.
I'd be looking at the shell first.
How are you logging in via ssh? If you're running commands (eg "ssh
yourserver foo") then you won't get a login shell, which may alter which
startup files get read (depending on your shell).
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum