How to change default path of SSH login

Aaron Medina
1 min readAug 20, 2017

--

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.

--

--