SSH - Change the default session path

Asked

Viewed 237 times

0

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

1 answer

1


Hello, to do this is very simple:

Open a terminal and type:

gedit ~/.bashrc

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

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

Valeuu, here worked perfectly (Fedora 20)!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.