SSH - Change the default session path

0

How do I start my SSH session in a specific folder, instead of going to ~ / (/ home / user_name /).

    
asked by anonymous 02.07.2014 / 05:09

1 answer

1

Hello, to do this is very simple:

Open a terminal and type:

gedit ~/.bashrc

Open and add to the end of this file the path to your preferred directory within a cd command:

cd /caminho/para/o/seu/diretorio/favorito

Thanks, it worked perfectly here (Fedora 20)!

    
02.07.2014 / 05:23