Page 1 of 1
RESOLVED: SSH Problem
Posted: Mon Mar 09, 2015 7:16 pm
by rdagijones
Trying to Putty into Amahi server from Windows 7 computer (within my network) following instructions on
https://wiki.amahi.org/index.php/SSHtoHDA and get "Network Error: Connection Refused." How do I troubleshoot this?
Re: SSH Problem
Posted: Tue Mar 10, 2015 2:36 am
by bigfoot65
Could be a firewall issue.
Also recommend you follow the
Key-based SSH logins tutorial. It is more secure.
Re: SSH Problem
Posted: Tue Mar 10, 2015 1:43 pm
by rdagijones
Found the problem:
For whatever reason sshd was not running or enabled. I just did the following:
Code: Select all
systemctl enable sshd.service
systemctl start sshd.service
Is SSH supposed to be enabled by default in Amahi 7?
Re: SSH Problem
Posted: Tue Mar 10, 2015 2:49 pm
by bigfoot65
Yes it enabled by default. Not sure why it was not for you. First case I have seen.
No chance you stopped it?
Re: SSH Problem
Posted: Tue Mar 10, 2015 6:25 pm
by rdagijones
I cannot see how I could have turned it off. The funny thing is that I manage 7 different Amahi servers and I have checked some of them. So far every one of them is turned off. One of them I rebuilt last week and it was off. Oh well, I post a solution here for those who come after me.
Re: SSH Problem
Posted: Tue Mar 10, 2015 6:37 pm
by bigfoot65
That is really odd. Every Amahi 7 server I have built has SSH on and running. I do test installs frequently and never noticed this issue before.
Oh well, at least it's working.
If you build another server and see the same issue, please file a
bug report. Post the any log files that might help.
Re: RESOLVED: SSH Problem
Posted: Thu Mar 12, 2015 5:46 pm
by rdagijones
Try a test build starting with installing Fedora 19 from a live cd and then use the code from the Amahi Full DVD install (
https://wiki.amahi.org/index.php/Amahi_7_full_DVD) and see if you get the same error. I suspect that something in the live desktop environment is cutting it off. It is really no big deal to enable it. I just did not realize it was a problem until I needed SSH.
Re: RESOLVED: SSH Problem
Posted: Thu Mar 12, 2015 5:48 pm
by bigfoot65
That is probably the issue.
We don't officially support the Live CD. I know with the Express DVD it is never been shut off for me.