#1 (permalink)  
Old 08-25-2006, 04:34 AM
Registered User
 
Join Date: Jun 2006
Posts: 74
BW -Tim is on a distinguished road
SSH port and protocol

How do I change SSH port and protocol?

I have edited /etc/ssh/sshd_config and /etc/ssh/ssh_config and restarted SSH, but it doesn't work, and users get a Connection Refused error. Is there anywhere else I need to update?

Last edited by BW -Tim; 08-25-2006 at 04:36 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-25-2006, 06:18 AM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,498
Infopro is on a distinguished road
Port opened on firewall?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-25-2006, 06:56 AM
Registered User
 
Join Date: Jun 2006
Posts: 74
BW -Tim is on a distinguished road
Quote:
Port open on firewall
Yup, on both of them

Last edited by BW -Tim; 08-25-2006 at 08:17 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-25-2006, 07:40 AM
Registered User
 
Join Date: Jun 2006
Posts: 92
websupport is on a distinguished road
Post Check file /etc/services

Check /etc/services

Also change the ssh line in /etc/services to <portno.>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-25-2006, 07:48 AM
Registered User
 
Join Date: Jun 2006
Posts: 74
BW -Tim is on a distinguished road
I've changed it, but it still doesn't work

Last edited by BW -Tim; 08-25-2006 at 08:16 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-25-2006, 08:13 AM
Registered User
 
Join Date: Jun 2006
Posts: 92
websupport is on a distinguished road
Post Checkout the link

Go through the following link:

http://forums.spry.com/showthread.php?t=98
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-25-2006, 08:13 AM
Registered User
 
Join Date: Jun 2006
Posts: 92
websupport is on a distinguished road
Post Checkout the link

Go through the following link:

http://forums.spry.com/showthread.php?t=98

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-25-2006, 08:59 AM
serversphere's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 651
serversphere is on a distinguished road
How about editing /etc/xinetd.d/sshd? Find the port line and edit it to new port. Close, restart SSH?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-25-2006, 09:19 AM
Registered User
 
Join Date: Jun 2006
Posts: 74
BW -Tim is on a distinguished road
I didn't have a /etc/xinetd.d/sshd file so created one and put in what that other thread said, and restarted SSH, but it didn't work.

When I unhash the protocol and port no from ssh_config and sshd_config files, SSH doesn't work, but WHM (specifically configserver firewall security scan) says the port has changed- could this have something to do with it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc