How to change default path of SSH login

Step 1: Login to your server.

Step 2: Modify your .bashrc file.

[root@testserver ~]$vi ~/.bashrc

Step 3: Append cd /<desired location>

Step 4: Save and Logout

Step 5: Login, then check if your default directory is changed.