Thursday, February 24, 2005

Windows OpenSSH home directory

Look in your /etc/passwd file.
You should see entries that look something like this:
depriest::43363:513:DePriest, Jason R,U-:/home/depriest:/bin/b
ash

You can edit the file manually and change the '/home/' entry to be whatever you wish. For instance, if I created a directory called C:\MyDirectory and wanted that to be my home directory, the same line would now read:

depriest::43363:513:DePriest, Jason R,U-:/cygdrive/c/MyDirectory:/bin/bash

[ trackback ]