Forum

Full Version: How to change the default ssh port number ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi !

I followed the standard debian way of doing this and changed the port number in /etc/ssh/sshd_config to 313
I verified that changes were correctly written in the file and turned the pi off and on again

On reboot, ssh hadn't change port and I had to go through the default port 22 to connect...

Any idea why changes in sshdconfig are not taken into account even after a cold boot ?

Software
XBian version: fresh install + apt-get update & upgrade yesterday
XBMC version: idem
Overclock settings: none

Hardware
Power supply rating:
RPi model (model A/B 256mb/512mb): B
SD card size and make/type: 16gb 45Mo/s
Network (wireless or LAN): eth
Connected devices (TV, USB, network storage, etc.): none
Have you tried changing sshd_config as that is the only running ssh. It's just a guess - might work.

Also, I know there were plans to implement open_ssh or dropbear but I have no idea if that went ahead. So the config file maybe elsewhere.
@deadcaribou,

please follow this post (to find link with tiny howto)

http://forum.xbian.org/thread-1770-post-18831.html#pid18831
closing thread as discussed elsewhere and thanks to @mk01 for linking it
Reference URL's