Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-09-2003, 03:56 PM
|
#1
|
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010
Rep:
|
SSH Port
Can i run SSH on a different port besides 22?
Situation:
I have 2 linux machines (both slackware 9) on my lan.
I have a cable router/switch
I currently have port 22 mapped to my first linux box.
Now i want to be able to SSH into my second linux box.
If this is possible, which i'm sure it is, what files do i need to change and what is a good port?
Thanks
|
|
|
|
06-09-2003, 04:04 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,676
|
in your sshd_config file just set "Port 1234" or whatever you prefer.
|
|
|
|
06-09-2003, 04:17 PM
|
#3
|
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010
Original Poster
Rep:
|
i don't need to change anything in my /etc/services file
right now it has lines for tcp and udp on port 22
thanks
|
|
|
|
06-09-2003, 04:52 PM
|
#4
|
|
Member
Registered: Feb 2003
Location: The City by the Bay
Posts: 116
Rep:
|
do you run it out of xinetd or standalone?
|
|
|
|
06-09-2003, 05:00 PM
|
#5
|
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-13.1
Posts: 1,010
Original Poster
Rep:
|
xinetd
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:04 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|