Sample Header Ad - 728x90

Remote command in ssh config file

32 votes
3 answers
39574 views
I'd like to set ssh_config so after just typing ssh my_hostname i end up in specific folder. Just like I would type cd /folder/another_one/much_much_deeper/. How can i achieve that? EDIT. It's have been marked as duplicate of "How to ssh into dir..." yet it is **not** my question. I know i can execute any commands by tailing them to ssh command. My question is about /ssh_config file not the command.
Asked by Kazz (423 rep)
Mar 29, 2017, 02:14 PM
Last activity: Jul 29, 2024, 07:42 AM