Page 1 of 1

Problems accessing HDA via remote SSH [RESOLVED]

Posted: Wed Jul 04, 2012 2:30 am
by modem7
Hey guys,

Having a bit of a problem.

I want to access my HDA from work via PuTTY, but I keep getting an error message.

My port is 22, I have it forwarded from my WAN address to my HDA LAN address as TCP. It asks me to "login as", so I put in my username + password and it seems to accept it (if I put in an incorrect u+p, it will deny my login), but get the error message: "Server refused to allocate pty".

Then it goes to the router "Vigor>" where I'm able to access router functions with no problems.


Portmap:

Code: Select all

Index Protocol Public Port Private IP Private Port 4 6 22 192.168.1.254 22

Any help would be fantastic.

many thanks!

Re: Problems accessing HDA via remote SSH

Posted: Wed Jul 04, 2012 11:45 am
by bigfoot65
What OS are you running for the HDA? Also, many work places block port 22. It could be a firewall issue as you should be able to login just like at home with ports forwarded.

Re: Problems accessing HDA via remote SSH

Posted: Fri Jul 06, 2012 1:52 am
by modem7
What OS are you running for the HDA? Also, many work places block port 22. It could be a firewall issue as you should be able to login just like at home with ports forwarded.
Heya,

Running Fedora 16. What I suspect is that it may either be a problem w/ the router settings or w/ the server settings. As I can login to the router after the server refuses to allocate PTY, It seems I can at least get as far as my router.

I've forwarded port 22 from WAN to LAN, so unsure really what the problem is :(

I found this link: http://permalink.gmane.org/gmane.linux. ... neral/3732 and http://permalink.gmane.org/gmane.linux. ... neral/4028 but not sure if it will fix/break anything

Re: Problems accessing HDA via remote SSH

Posted: Fri Jul 06, 2012 3:30 am
by bigfoot65
If you are running Fedora 16 for the HDA, then you might want to change to Ubuntu. We stopped working Fedora 16 some time ago and there is no support, updates, and it was never finished.

We will be moving to Fedora 17 for development next, but the Fedora 16 Amahi repo is likely to disappear in the near future.

Re: Problems accessing HDA via remote SSH

Posted: Fri Jul 06, 2012 4:30 pm
by modem7
All sorted. Turns out my router had an inbuilt SSH server that was conflicting. Moved that to another port, and voila, all sorted :D

Re: Problems accessing HDA via remote SSH [RESOLVED]

Posted: Fri Jul 06, 2012 7:40 pm
by bigfoot65
Glad to hear you got it sorted out.