SSH Error: /bin/bash no such file or directory

General support questions
Posts: 8
Joined: 2013/11/26 18:26:31

SSH Error: /bin/bash no such file or directory

Postby yasser » 2018/01/18 13:35:41


i have two machines, a web server and a back up server.
on the backup server there is a user (the same user exists on both servers) who execute a script to backup the web site and the database with rsync
everything was working fine but suddenly not
when i try to ssh that user from the backup to the web server: ssh user@webserver i got an error message: /bin/bash: no such file or directory. connection closed.
the ssh from the other side work well (ssh user@backupserver).
No chroot used for ssh.

Any ideas about this?

Thanks everyone.