ssh: connect to host stopped working and port 22: connection timed out
up vote
1
down vote
favorite
I can not access to remote computer using ssh username@host
anymore, it worked before then it stopped and I always get:
ssh: connect to host port 22: Connection timed out
I checked firewall rules, nothing interrupting. I re-installed ssh
server and made sure it is working but still the same problem.
I ping to the IP address and it is responding properly.
I checked also ssh config and it is listening to port 22
Any help?
networking server ssh connection
add a comment |
up vote
1
down vote
favorite
I can not access to remote computer using ssh username@host
anymore, it worked before then it stopped and I always get:
ssh: connect to host port 22: Connection timed out
I checked firewall rules, nothing interrupting. I re-installed ssh
server and made sure it is working but still the same problem.
I ping to the IP address and it is responding properly.
I checked also ssh config and it is listening to port 22
Any help?
networking server ssh connection
did you check in/etc/ssh/sshd_config
of the host computer which port is listened ?
– Dadep
May 11 at 9:30
yes and it is listening to Port 22
– user828598
May 11 at 9:44
can you try to connect from other computer ? how are connected your network ? is there router ?
– Dadep
May 11 at 10:12
I will try to connect from another computer. But I do not understand what do you mean by is there router? I am trying to access my work station at the institute where I work from my laptop it worked before properly but then the connection stopped and timed out and I tried from another Internet connection and it is the same problem
– user828598
May 11 at 10:22
did you try from other computer on the same network ? maybe the problem is in the different steps of your local network. I mean if your laptop is not physically directly link to your server, you should check everything place in the path between your laptop and your hostserver.
– Dadep
May 11 at 10:46
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I can not access to remote computer using ssh username@host
anymore, it worked before then it stopped and I always get:
ssh: connect to host port 22: Connection timed out
I checked firewall rules, nothing interrupting. I re-installed ssh
server and made sure it is working but still the same problem.
I ping to the IP address and it is responding properly.
I checked also ssh config and it is listening to port 22
Any help?
networking server ssh connection
I can not access to remote computer using ssh username@host
anymore, it worked before then it stopped and I always get:
ssh: connect to host port 22: Connection timed out
I checked firewall rules, nothing interrupting. I re-installed ssh
server and made sure it is working but still the same problem.
I ping to the IP address and it is responding properly.
I checked also ssh config and it is listening to port 22
Any help?
networking server ssh connection
networking server ssh connection
edited May 11 at 9:54
asked May 11 at 9:23
user828598
615
615
did you check in/etc/ssh/sshd_config
of the host computer which port is listened ?
– Dadep
May 11 at 9:30
yes and it is listening to Port 22
– user828598
May 11 at 9:44
can you try to connect from other computer ? how are connected your network ? is there router ?
– Dadep
May 11 at 10:12
I will try to connect from another computer. But I do not understand what do you mean by is there router? I am trying to access my work station at the institute where I work from my laptop it worked before properly but then the connection stopped and timed out and I tried from another Internet connection and it is the same problem
– user828598
May 11 at 10:22
did you try from other computer on the same network ? maybe the problem is in the different steps of your local network. I mean if your laptop is not physically directly link to your server, you should check everything place in the path between your laptop and your hostserver.
– Dadep
May 11 at 10:46
add a comment |
did you check in/etc/ssh/sshd_config
of the host computer which port is listened ?
– Dadep
May 11 at 9:30
yes and it is listening to Port 22
– user828598
May 11 at 9:44
can you try to connect from other computer ? how are connected your network ? is there router ?
– Dadep
May 11 at 10:12
I will try to connect from another computer. But I do not understand what do you mean by is there router? I am trying to access my work station at the institute where I work from my laptop it worked before properly but then the connection stopped and timed out and I tried from another Internet connection and it is the same problem
– user828598
May 11 at 10:22
did you try from other computer on the same network ? maybe the problem is in the different steps of your local network. I mean if your laptop is not physically directly link to your server, you should check everything place in the path between your laptop and your hostserver.
– Dadep
May 11 at 10:46
did you check in
/etc/ssh/sshd_config
of the host computer which port is listened ?– Dadep
May 11 at 9:30
did you check in
/etc/ssh/sshd_config
of the host computer which port is listened ?– Dadep
May 11 at 9:30
yes and it is listening to Port 22
– user828598
May 11 at 9:44
yes and it is listening to Port 22
– user828598
May 11 at 9:44
can you try to connect from other computer ? how are connected your network ? is there router ?
– Dadep
May 11 at 10:12
can you try to connect from other computer ? how are connected your network ? is there router ?
– Dadep
May 11 at 10:12
I will try to connect from another computer. But I do not understand what do you mean by is there router? I am trying to access my work station at the institute where I work from my laptop it worked before properly but then the connection stopped and timed out and I tried from another Internet connection and it is the same problem
– user828598
May 11 at 10:22
I will try to connect from another computer. But I do not understand what do you mean by is there router? I am trying to access my work station at the institute where I work from my laptop it worked before properly but then the connection stopped and timed out and I tried from another Internet connection and it is the same problem
– user828598
May 11 at 10:22
did you try from other computer on the same network ? maybe the problem is in the different steps of your local network. I mean if your laptop is not physically directly link to your server, you should check everything place in the path between your laptop and your hostserver.
– Dadep
May 11 at 10:46
did you try from other computer on the same network ? maybe the problem is in the different steps of your local network. I mean if your laptop is not physically directly link to your server, you should check everything place in the path between your laptop and your hostserver.
– Dadep
May 11 at 10:46
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
First of all check out if the SSH daemon is running properly. you may need to check the journald logs for further details.
You can alternatively run netstat command and see if SSH is listening on 22, and test if ‘telnet ip -port 22’ is working from the firewall to the machine ?
Check ssd_config configuration file if any restrictions in there.
Please note that any problem will be logged in the journald, the sshd.log or your firewall log.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
First of all check out if the SSH daemon is running properly. you may need to check the journald logs for further details.
You can alternatively run netstat command and see if SSH is listening on 22, and test if ‘telnet ip -port 22’ is working from the firewall to the machine ?
Check ssd_config configuration file if any restrictions in there.
Please note that any problem will be logged in the journald, the sshd.log or your firewall log.
add a comment |
up vote
0
down vote
First of all check out if the SSH daemon is running properly. you may need to check the journald logs for further details.
You can alternatively run netstat command and see if SSH is listening on 22, and test if ‘telnet ip -port 22’ is working from the firewall to the machine ?
Check ssd_config configuration file if any restrictions in there.
Please note that any problem will be logged in the journald, the sshd.log or your firewall log.
add a comment |
up vote
0
down vote
up vote
0
down vote
First of all check out if the SSH daemon is running properly. you may need to check the journald logs for further details.
You can alternatively run netstat command and see if SSH is listening on 22, and test if ‘telnet ip -port 22’ is working from the firewall to the machine ?
Check ssd_config configuration file if any restrictions in there.
Please note that any problem will be logged in the journald, the sshd.log or your firewall log.
First of all check out if the SSH daemon is running properly. you may need to check the journald logs for further details.
You can alternatively run netstat command and see if SSH is listening on 22, and test if ‘telnet ip -port 22’ is working from the firewall to the machine ?
Check ssd_config configuration file if any restrictions in there.
Please note that any problem will be logged in the journald, the sshd.log or your firewall log.
answered May 11 at 16:49
Mrghith
113
113
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034838%2fssh-connect-to-host-stopped-working-and-port-22-connection-timed-out%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
did you check in
/etc/ssh/sshd_config
of the host computer which port is listened ?– Dadep
May 11 at 9:30
yes and it is listening to Port 22
– user828598
May 11 at 9:44
can you try to connect from other computer ? how are connected your network ? is there router ?
– Dadep
May 11 at 10:12
I will try to connect from another computer. But I do not understand what do you mean by is there router? I am trying to access my work station at the institute where I work from my laptop it worked before properly but then the connection stopped and timed out and I tried from another Internet connection and it is the same problem
– user828598
May 11 at 10:22
did you try from other computer on the same network ? maybe the problem is in the different steps of your local network. I mean if your laptop is not physically directly link to your server, you should check everything place in the path between your laptop and your hostserver.
– Dadep
May 11 at 10:46