KpyM Telnet/SSH Server - Forum
Changing the root directory |
jdidol |
Changing the root directory |
Jun 07 2007 16:05 |
|
I read the other post about setting the root dir, I edited my allusers.bat
echo ===============================================
echo .\scripts\allusers.bat
echo this script is executed for all users
echo delete/rename it if you don't need it
echo ===============================================
chcp 437
cd c:\Inetpub\ftproot
I'm working with a windows 2000 server it has all updates and was recently reinstalled.
When I login using Vandyke securefx I still am taken to c:\program files\KTS.
What stupid thing am I doing wrong?????
Thank
Jay
|
Kroum Grigorov |
|
Jun 07 2007 19:33 |
|
If I get it right SecureFX is sftp client.
Currently you can change KTS root directory for SSH sessions only.
SFTP sessions will allways default to the KTS root directory.
I will consider adding sftp_root option in the next release.
Kroum
|
Robert |
Setting Home Directory |
Jun 29 2007 15:20 |
|
Jay:
Add this to your allusers.bat:
cd %USERPROFILE%
You will be dropped into the directory generated when the profile was added to the Windows system, a.k.a. their profile.
If you set the HOMEDRIVE environment variable (specified in Local Users and Groups) you could then use:
cd %HOMEDRIVE%
but this will not work unless you defined it.
Robert.
|
© 2007 - 2008 Kroum Grigorov