I've made a new alias in the remote machine /.bashrc
, since I did it and I close the session I just can't log in again using the shh protocol. As you can see in the code, when I try to log in, the machine prompts a error with the alias, it doesn't let you to type anything and few minutes later the connection is closed.
name@user2:~$ ssh remotename@adress.com
remotename@adress.com password:
/home/user/.bashrc: line 18: alias: /data/user/remotename/software/env-shell.sh: not found
Connection closed by UNKNOWN port 65432
I would like to know if there is a solution with no direct access to the remote machine?
Pd: I can't delete the alias anymore and I can't be 100% sure that the problem is due to the alias.