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

[SOLVED] Can I change the port of ssh server?
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Can I change the port of ssh server?
11th Jun, 2014, 06:36 PM
Post: #1
netjm Offline
Registered
Posts: 1
Joined: Jun 2014
Reputation: 0
Can I change the port of ssh server?
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.
Find all posts by this user
12th Jun, 2014, 01:29 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Can I change the port of ssh server?
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.

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
12th Jun, 2014, 01:52 AM
Post: #3
menakite Offline
Management
******
Posts: 175
Joined: Apr 2014
Reputation: 27
RE: Can I change the port of ssh server?
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
Find all posts by this user
12th Jun, 2014, 01:55 AM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Can I change the port of ssh server?
Wiki, wiki, wiki Wink

pilight - modular domotica solution
Visit this user's website Find all posts by this user
12th Jun, 2014, 02:44 AM
Post: #5
menakite Offline
Management
******
Posts: 175
Joined: Apr 2014
Reputation: 27
RE: Can I change the port of ssh server?
(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..."
Find all posts by this user
12th Jun, 2014, 03:30 AM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Can I change the port of ssh server?
The idea of a community wiki is that not the managers fix things but the community will. So will see what they think Smile

pilight - modular domotica solution
Visit this user's website Find all posts by this user
15th Jun, 2014, 06:47 PM
Post: #7
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: Can I change the port of ssh server?
Answer given.Linked to Wiki FAQ section

~~~~>>>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
  How to change the default ssh port number ? deadcaribou 3 10,183 7th Jan, 2014 09:06 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, 04:28 PM Powered By MyBB, © 2002-2025 MyBB Group.