Homunculus Reticulli
Reputation
341
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 5 12
Newest
 Curious
Impact
~239k people reached

  • 0 posts edited
  • 0 helpful flags
  • 24 votes cast
Mar
29
comment ssh: connect to host myhostname.ddns.net port 22: Connection refused
Hmm, I'm experiencing the same problem again .... Fisrt I had a message saying "No route to host". Tried again, now I get "connection refused" .. Also, ssh --vvv output is the same as ssh -v. The one thing that's definitely change is that previously (when the setup was working), the router correctly identified the host machine and displayed it's name as the device to foreward to. However this time round it say's "unknown device", and I have to match the device by its Mac address ...
Mar
29
revised ssh: connect to host myhostname.ddns.net port 22: Connection refused
added 1 character in body
Mar
29
comment ssh: connect to host myhostname.ddns.net port 22: Connection refused
I deleted the port forwarding configuration in the router, then entered EXACT parameters AGAIN. Now ssh --vvv gives me a much more detailed response - and I can now login into the server. Could you please remove my IP address from your answer, so I can accept it?. Thanks
Mar
29
comment ssh: connect to host myhostname.ddns.net port 22: Connection refused
@terdon. The output with -vvv is EXACTLY the same as that with -v
Mar
29
revised ssh: connect to host myhostname.ddns.net port 22: Connection refused
Corrected /etc/ssh/sshd_config params out of respect for those trying to help
Mar
29
revised ssh: connect to host myhostname.ddns.net port 22: Connection refused
Further clarification of question, also pointing out potential redherrings as edits were made under duress
Mar
29
comment ssh: connect to host myhostname.ddns.net port 22: Connection refused
Thanks for the prompt response. I will update my question accordingly (I thought mentioning that I had followed the previous instructions - made it clear that I had done the things you mentioned). I will make the steps I took more clear.. Please gimme a few minutes to do so.. Thanks
Mar
29
asked ssh: connect to host myhostname.ddns.net port 22: Connection refused
Mar
21
comment How to securely ssh into a machine at home over the internet
could you please explain your comment: "You should not authenticate with keys if you are travelling. ", this goes against everything I have read so far. What is the reason behind you saying that?
Mar
21
awarded  Curious
Mar
20
comment How to securely ssh into a machine at home over the internet
@Oliphaunt: yes I'm doing that too, thanks
Mar
20
accepted How to securely ssh into a machine at home over the internet
Mar
20
comment How to securely ssh into a machine at home over the internet
Let us continue this discussion in chat.
Mar
20
comment How to securely ssh into a machine at home over the internet
@Zacharee1 you mean the public facing IP address? Is it safe/advisable to publish it on here?
Mar
20
comment How to securely ssh into a machine at home over the internet
@Zacharee1, I can't find the router homepage (it used to be 192.168.1.1), is there a way to find out what it is? Also, my understanding is this - I don't need to worry about a static IP address on my LAN if I use the services provided by no-ip. Is my understanding correct?
Mar
20
comment How to securely ssh into a machine at home over the internet
@Wilf: I'm not sure, I was just following the advice from Zacharee1. I think I want a static external IP address though
Mar
20
comment How to securely ssh into a machine at home over the internet
I'm based in the UK, its a router supplied by the local ISP - although I'm sure its a generic clone. The router just has the label 'Plusnet' which is the name of the ISP
Mar
20
comment How to securely ssh into a machine at home over the internet
Also, I can't see where/how to assign the static IP address. I am using Ubuntu Trusty Tahir
Mar
20
comment How to securely ssh into a machine at home over the internet
+1 Thanks @Zacharee1 for the prompt response. I have registered a domain for my purpose, using no-ip. I have followed all the steps. The last step is where I'm at a loss: setting up router for port forwarding. I could do with some help in this area if possible. Thanks
Mar
20
asked How to securely ssh into a machine at home over the internet