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

Issues related to configuring your network
Post Reply
yasser
Posts: 8
Joined: 2013/11/26 18:26:31

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

Post by yasser » 2018/01/20 14:12:21

Hi

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). i can ssh to other users on the remote server.
No chroot used for ssh.

Any ideas about this?

Thanks everyone.

Post Reply