what exactly do I need to make my pc an ssh server and connect to it? [closed]
Clash Royale CLAN TAG#URR8PPP
I tried to create ssh server on my pc. It connects well on LAN but over internet it does not. I have tried everything that I can. I can connect to azure server from pc though.
I am running arch linux.
sshd is running.
What are the things I need to make it work?
ssh openssh
closed as too broad by Rui F Ribeiro, Olorin, Sparhawk, roaima, Mr Shunz Feb 18 at 10:21
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I tried to create ssh server on my pc. It connects well on LAN but over internet it does not. I have tried everything that I can. I can connect to azure server from pc though.
I am running arch linux.
sshd is running.
What are the things I need to make it work?
ssh openssh
closed as too broad by Rui F Ribeiro, Olorin, Sparhawk, roaima, Mr Shunz Feb 18 at 10:21
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Is your PC directly connected to the Internet with a public IP address? If not, you're going to need to arrange port forwarding - probably in your router. (But if you're on CG NAT you'll need to discuss options with your ISP.)
– roaima
Feb 18 at 9:11
add a comment |
I tried to create ssh server on my pc. It connects well on LAN but over internet it does not. I have tried everything that I can. I can connect to azure server from pc though.
I am running arch linux.
sshd is running.
What are the things I need to make it work?
ssh openssh
I tried to create ssh server on my pc. It connects well on LAN but over internet it does not. I have tried everything that I can. I can connect to azure server from pc though.
I am running arch linux.
sshd is running.
What are the things I need to make it work?
ssh openssh
ssh openssh
edited Feb 17 at 19:41
terdon♦
132k32261441
132k32261441
asked Feb 17 at 18:22
Nageen ChandNageen Chand
12
12
closed as too broad by Rui F Ribeiro, Olorin, Sparhawk, roaima, Mr Shunz Feb 18 at 10:21
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Rui F Ribeiro, Olorin, Sparhawk, roaima, Mr Shunz Feb 18 at 10:21
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Is your PC directly connected to the Internet with a public IP address? If not, you're going to need to arrange port forwarding - probably in your router. (But if you're on CG NAT you'll need to discuss options with your ISP.)
– roaima
Feb 18 at 9:11
add a comment |
1
Is your PC directly connected to the Internet with a public IP address? If not, you're going to need to arrange port forwarding - probably in your router. (But if you're on CG NAT you'll need to discuss options with your ISP.)
– roaima
Feb 18 at 9:11
1
1
Is your PC directly connected to the Internet with a public IP address? If not, you're going to need to arrange port forwarding - probably in your router. (But if you're on CG NAT you'll need to discuss options with your ISP.)
– roaima
Feb 18 at 9:11
Is your PC directly connected to the Internet with a public IP address? If not, you're going to need to arrange port forwarding - probably in your router. (But if you're on CG NAT you'll need to discuss options with your ISP.)
– roaima
Feb 18 at 9:11
add a comment |
1 Answer
1
active
oldest
votes
Based on:
It connects well on LAN but over internet it does not.
And:
I can connect to azure server from pc though
...it sounds as though you have not configured your router to accept incoming connections to the port that runs ssh
(standard is 22, but I use a different port for my server).
This of course is hard to describe, because there are tons of different router manufacturers out there.
1
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
2
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Based on:
It connects well on LAN but over internet it does not.
And:
I can connect to azure server from pc though
...it sounds as though you have not configured your router to accept incoming connections to the port that runs ssh
(standard is 22, but I use a different port for my server).
This of course is hard to describe, because there are tons of different router manufacturers out there.
1
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
2
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
add a comment |
Based on:
It connects well on LAN but over internet it does not.
And:
I can connect to azure server from pc though
...it sounds as though you have not configured your router to accept incoming connections to the port that runs ssh
(standard is 22, but I use a different port for my server).
This of course is hard to describe, because there are tons of different router manufacturers out there.
1
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
2
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
add a comment |
Based on:
It connects well on LAN but over internet it does not.
And:
I can connect to azure server from pc though
...it sounds as though you have not configured your router to accept incoming connections to the port that runs ssh
(standard is 22, but I use a different port for my server).
This of course is hard to describe, because there are tons of different router manufacturers out there.
Based on:
It connects well on LAN but over internet it does not.
And:
I can connect to azure server from pc though
...it sounds as though you have not configured your router to accept incoming connections to the port that runs ssh
(standard is 22, but I use a different port for my server).
This of course is hard to describe, because there are tons of different router manufacturers out there.
answered Feb 17 at 18:28
maulinglawnsmaulinglawns
6,32121226
6,32121226
1
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
2
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
add a comment |
1
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
2
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
1
1
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
I’d add that you can open a port either using your router’s interface, or using an upnp portmapper such as yaup
– Nephanth
Feb 17 at 18:49
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
thanks, yes the port forwarding seems the problem. But i use ISP internet(hotspot from mobile). So i need to open a port for isp. Is that right??
– Nageen Chand
Feb 17 at 19:27
2
2
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
Actually, it’s your mobile that needs to forward the port. maybe try this : stackoverflow.com/questions/11705448/…
– Nephanth
Feb 17 at 19:43
add a comment |
1
Is your PC directly connected to the Internet with a public IP address? If not, you're going to need to arrange port forwarding - probably in your router. (But if you're on CG NAT you'll need to discuss options with your ISP.)
– roaima
Feb 18 at 9:11