我想设置 ssh_config 以便在输入后ssh my_hostname我最终进入特定文件夹。就像我会输入cd /folder/another_one/much_much_deeper/.
ssh my_hostname
cd /folder/another_one/much_much_deeper/
我怎样才能做到这一点?
编辑。它已被标记为“How to ssh into dir ...”的重复,但这不是我的问题。
我知道我可以通过拖尾命令来执行任何命令ssh。我的问题是关于/ssh_config文件而不是命令。
ssh
/ssh_config
ssh ssh-config
ssh ×1
ssh-config ×1