Topic "Changing the Remote dir"

Author Message
Amancio

Guest


Yeah another newbie asking 4 help.
I'm not able to change the remote dir simply because I connot find the line in the sshd_config.
WinSCP is displaying the root dir from SSHD.

Thanks 4 the time!
Amancio
Amancio

Guest


Amancio wrote:
Yeah another newbie asking 4 help.
I'm not able to change the remote dir simply because I cannot find the line in the sshd_config.
WinSCP is displaying the root dir from SSHD.

Thanks 4 the time!
Amancio



Ok I think I found it:
-------------------
The /home Directory
-------------------
In the passwd file, you will notice that the user's home directory is set as /home/username, with username being the name of the account. In the default install, the /home directory is set to the default profile directory for all users. This is usually C:\Documents and Settings on Windows 2000 and XP, and C:\WINNT\Profiles on Windows NT 4.0. The location of /home can be edited to fit your special requirements by editing a registry key.

To change the Windows directory /home corresponds to, you will need to edit a registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home. The value of the key named "native" is the directory that /home is. If you want all your users to enter in a directory on your machine called F:\Users, change "native" to read F:\Users. By default, each user will then be placed in the directory F:\Users\username, where username is the name of the user account. To place the user directly under f:\Users, change the home directory in passwd to /home.

-------------------------
Is it?
Cheers,
Amancio
santacruz

Guest


Did you just cut and paste from the readme file. I've done this and it doesn't all it does is keep me from logging into the remote machine. Thought you might have more information than this.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License