Answer the question
In order to leave comments, you need to log in
How to change directory in Debian after ssh login?
By default, the user directory is /home/user, and it should remain so. It is necessary after ssh connection that by default the directory is not [email protected]~ but [email protected]/var/www/site.ru is open. Failed to google. I myself tried to write cd /var/www/site.ru to ~/.bashrc but it doesn't work
Answer the question
In order to leave comments, you need to log in
How about: How can I automatically change directory on ssh login?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question