SFTP Default Path

NethServer Version: 7.9
Module: SSH, Samba Active Directory

When I using SFTP to connect to server, it’s always go to path /var/lib/nethserver/home/client1.
I want to change default path to /var/lib/nethserver/ibay/myshare.

Is there any advice how do I fix it.

Thanks and Cheers,
Chartree…

I found this file in home directory
.bash_profile

.bash_profile

Get the aliases and functions

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH

And try try to modify path. but nothing change.
Hey GURU Any idea for this,

Hi Pong,

It is a bit confusing you are talking about SFTP but I think you mean SSH.

Which client are you using to access the Nethserver?