I can't edit the .bashrc of the fs I'm connecting to
I have to use the
Here is my current config:
Host my-ssh HostName <ip> User <user> IdentityFile <file location> Compression yes RemoteCommand cd <path to folder>
When I run
ssh my-ssh nothing happens. The connection seems to automatically close. If I remove the
RemoteCommand line it connects without an issue.
Is this something on the server config? It's an EC2 instance, either CentOS or RHEL and bash is the shell.