Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

How to change the default ssh port number ?
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How to change the default ssh port number ?
5th Jan, 2014, 12:06 AM
Post: #1
deadcaribou Offline
Registered
Posts: 1
Joined: Jan 2014
Reputation: 0
How to change the default ssh port number ?
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
Find all posts by this user
5th Jan, 2014, 05:19 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: How to change the default ssh port number ?
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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
7th Jan, 2014, 07:54 PM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: How to change the default ssh port number ?
@deadcaribou,

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

http://forum.xbian.org/thread-1770-post-18831.html#pid18831

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
7th Jan, 2014, 09:06 PM
Post: #4
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: How to change the default ssh port number ?
closing thread as discussed elsewhere and thanks to @mk01 for linking it

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] Can I change the port of ssh server? netjm 6 15,699 15th Jun, 2014 06:47 PM
Last Post: rikardo1979

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 02:46 AM Powered By MyBB, © 2002-2025 MyBB Group.