RESOLVED: SSH Problem

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

RESOLVED: SSH Problem

Postby rdagijones » Mon Mar 09, 2015 7:16 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11182
Joined: Mon May 25, 2009 4:31 pm

Re: SSH Problem

Postby bigfoot65 » Tue Mar 10, 2015 2:36 am

Could be a firewall issue.

Also recommend you follow the Key-based SSH logins tutorial. It is more secure.
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: SSH Problem

Postby rdagijones » Tue Mar 10, 2015 1:43 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11182
Joined: Mon May 25, 2009 4:31 pm

Re: SSH Problem

Postby bigfoot65 » Tue Mar 10, 2015 2:49 pm

Yes it enabled by default. Not sure why it was not for you. First case I have seen.

No chance you stopped it?
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: SSH Problem

Postby rdagijones » Tue Mar 10, 2015 6:25 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11182
Joined: Mon May 25, 2009 4:31 pm

Re: SSH Problem

Postby bigfoot65 » Tue Mar 10, 2015 6:37 pm

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.
ßîgƒσστ65
Applications Manager

rdagijones
Posts: 265
Joined: Thu Jan 26, 2012 7:56 am

Re: RESOLVED: SSH Problem

Postby rdagijones » Thu Mar 12, 2015 5:46 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11182
Joined: Mon May 25, 2009 4:31 pm

Re: RESOLVED: SSH Problem

Postby bigfoot65 » Thu Mar 12, 2015 5:48 pm

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.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 2 guests