Forum
[SOLVED] Can I change the port of ssh server? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [SOLVED] Can I change the port of ssh server? (/thread-2344.html)



Can I change the port of ssh server? - netjm - 11th Jun, 2014 06:36 PM

Hi!

I tried to change the port of ssh server editing "Port 15400" in "/etc/ssh/sshd_config", but I can't to connect to ssh by this port. Why?

Xbian is based on raspbian, no? In raspbian "/etc/ssh/sshd_config" works.

Thanks you.


RE: Can I change the port of ssh server? - IriDium - 12th Jun, 2014 01:29 AM

You did edit /etc/ssh/ssh_config NOT /etc/ssh_config?
Also you did remove the # before the port command?
Did you restart ssh?

Otherwise try changing it to 2222 and see if that works.


RE: Can I change the port of ssh server? - menakite - 12th Jun, 2014 01:52 AM

On XBian sshd runs via inetd.

Check this thread for how to enable standalone mode or change the listening port via inetd: http://forum.xbian.org/thread-2092.html


RE: Can I change the port of ssh server? - CurlyMo - 12th Jun, 2014 01:55 AM

Wiki, wiki, wiki Wink


RE: Can I change the port of ssh server? - menakite - 12th Jun, 2014 02:44 AM

(12th Jun, 2014 01:55 AM)CurlyMo Wrote:  Wiki, wiki, wiki ;)

Created a faq page. Please check I didn't break anything, as I'm not familiar with DokuWiki :-)
Can you also link it at the very top of http://forum.xbian.org/announcement-9.html ? Something like "Please check the faqs before reporting a problem..."


RE: Can I change the port of ssh server? - CurlyMo - 12th Jun, 2014 03:30 AM

The idea of a community wiki is that not the managers fix things but the community will. So will see what they think Smile


RE: Can I change the port of ssh server? - rikardo1979 - 15th Jun, 2014 06:47 PM

Answer given.Linked to Wiki FAQ section