Forum

You are not logged in.

#1 19-07-2017 07:43:42

loreton
Membre
Registered: 19-07-2017
Posts: 3

SSH - Could not chdir to home directory

I'm experiencing the problem in the subject. I can login via ssh to my account but I get the error:
Could not chdir to home directory /home/loreton: No such file or directory

My current dir is / and I cannot move to my home directory:

loreton@ssh:/$ cd /home/loreton
-bash: cd: /home/loreton: No such file or directory

If I try to login via Web I get a correct login on my home directory.

I there anyone can help me ?
Regards
Loreto

Offline

#2 19-07-2017 08:52:22

@Héloïse
Staff
Registered: 03-03-2016
Posts: 206

Re: SSH - Could not chdir to home directory

Hello,

You are trying to connect to an old SSH server, which send you this error. I invite you to connect with the SSH host of your account which is given on the Remote access > SSH menu.

Offline

#3 28-07-2017 07:34:42

loreton
Membre
Registered: 19-07-2017
Posts: 3

Re: SSH - Could not chdir to home directory

Thank You Héloïse,
name of my host should be: ssh-loreton.alwaysdata.net
I tried to login via:

ssh ssh-loreton.alwaysdata.net

but no answer return. It stay hung.
Using the telnet command I can reach the server.

telnet ssh-loreton.alwaysdata.net 22
Trying 185.31.40.88...
Connected to ssh-loreton.alwaysdata.net.
Escape character is '^]'.

I tried also the tcpdump and I can see just the SYN command. Any suggestion?

Regards

Offline

#4 28-07-2017 10:00:54

@Héloïse
Staff
Registered: 03-03-2016
Posts: 206

Re: SSH - Could not chdir to home directory

There was this morning some issue on the SSH server where your account is. It's closed now could you try again?

Last edited by @Héloïse (28-07-2017 10:24:37)

Offline

#5 01-08-2017 07:28:55

loreton
Membre
Registered: 19-07-2017
Posts: 3

Re: SSH - Could not chdir to home directory

Wow,
thank You very much. Now it's working and I got my old home page.

Kind Regards
Loreto

Offline

Board footer

Powered by FluxBB