SSH with no local home directory?

nmeyers at javalinux.net nmeyers at javalinux.net
Tue Jan 24 16:03:06 EST 2006


On Tue, Jan 24, 2006 at 03:49:51PM -0500, Don Levey wrote:
> Here's my situation:
> I need to find a way, if possible, for a user with no local home directory
> to make an ssh connection to another host.  The problem here is that
> normally the remote machine's RSA key is stored in ~/.ssh/known_hosts, but
> with no home dir that won't work.  Is there any system-wide known_hosts file
> I could implement that would be checked first (or instead)?  The thing I'm
> trying to do is to get the machine to connect to another based upon a web
> page connection, but the user ID running the web server has no home dir or
> login.

According to the ssh man page, /etc/ssh/ssh_known_hosts is what you're
looking for.

Nathan

>  -Don
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://olduvai.blu.org/mailman/listinfo/discuss
> 



More information about the Discuss mailing list