This is a discussion on Configuring services for unusual ports within the Linux Security forums, part of the System Security and Security Related category; How would I go about configuring my xinetd's kr5-telnet server on my red hat Linux 8.0 box ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
How would I go about configuring my xinetd's kr5-telnet server on my red hat
Linux 8.0 box to respond to a port other than the standard port 23? (As you can see from my signature file below, I've already got port 23 on my network being answered by a different machine.) I'm getting ready to take a trip and will need to be able to remotely access my machine while gone, but my laptop doesn't have a SSH client on it. My firewall already blocks or forwards all the ports that I might use except for an odd one that I have open for another service that will not be running during this time. Any help on this will be greatly appreciated. (I did check the man pages and info pages without luck, though I don't mind reading them if someone can point me to one that will answer this.) You may also be able to tell by now that I'm fairly new at Linux, if you need more info to be able to answer this, please let me know. I apologize for the cross-posting, but I'm hoping that by including a single newsgroup for follow-up this post may get seen by enough people to get an answer for me reasonably quickly while not spamming a bunch of newsgroups, if I've done this wrong, I'll take the flames that I know some folks are just dying to dish out without complaint. -=Conner=- -- Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family fun in a medieval setting, or come test your mettle in the Land of Legends, our MUD, at telnet://tcdbbs.zapto.org:4000 For general info, visit http://www.tcdbbs.zapto.org |
|
|||
|
On Sun, 12 Dec 2004 04:08:08 -0500, Conner Destron wrote:
> How would I go about configuring my xinetd's kr5-telnet server on my red hat > Linux 8.0 box to respond to a port other than the standard port 23? (As you > can see from my signature file below, I've already got port 23 on my network > being answered by a different machine.) > > I'm getting ready to take a trip and will need to be able to remotely access > my machine while gone, but my laptop doesn't have a SSH client on it. My > firewall already blocks or forwards all the ports that I might use except > for an odd one that I have open for another service that will not be running > during this time. Any help on this will be greatly appreciated. (I did check > the man pages and info pages without luck, though I don't mind reading them > if someone can point me to one that will answer this.) You may also be able > to tell by now that I'm fairly new at Linux, if you need more info to be > able to answer this, please let me know. > > I apologize for the cross-posting, but I'm hoping that by including a single > newsgroup for follow-up this post may get seen by enough people to get an > answer for me reasonably quickly while not spamming a bunch of newsgroups, > if I've done this wrong, I'll take the flames that I know some folks are > just dying to dish out without complaint. > -=Conner=- I can't offer any suggestions about configuring xinetd but as for an ssh client how about putty? There are both Windows and Linux versions around, -- Jon |
|
|||
|
"Jon" wrote:
> On Sun, 12 Dec 2004 04:08:08 -0500, Conner Destron wrote: > >> How would I go about configuring my xinetd's kr5-telnet server on my red >> hat >> Linux 8.0 box to respond to a port other than the standard port 23? (As >> you >> can see from my signature file below, I've already got port 23 on my >> network >> being answered by a different machine.) > > I can't offer any suggestions about configuring xinetd but as for an ssh > client how about putty? There are both Windows and Linux versions around, I could try putty, that would give me the ability to use ssh instead of telnet, but I still really need to be able to set up the service in question, be it telnet or ssh, to listen to a non-standard port as ports 22 and 23 are not available to me for this "project". :( -=Conner=- -- Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family fun in a medieval setting, or come test your mettle in the Land of Legends, our MUD, at telnet://tcdbbs.zapto.org:4000 For general info, visit http://www.tcdbbs.zapto.org |
|
|||
|
On Sun, 12 Dec 2004 13:48:06 -0500, Conner Destron wrote:
> "Jon" wrote: >> On Sun, 12 Dec 2004 04:08:08 -0500, Conner Destron wrote: >> >>> How would I go about configuring my xinetd's kr5-telnet server on my red >>> hat >>> Linux 8.0 box to respond to a port other than the standard port 23? (As >>> you >>> can see from my signature file below, I've already got port 23 on my >>> network >>> being answered by a different machine.) >> >> I can't offer any suggestions about configuring xinetd but as for an ssh >> client how about putty? There are both Windows and Linux versions around, > > I could try putty, that would give me the ability to use ssh instead of > telnet, but I still really need to be able to set up the service in > question, be it telnet or ssh, to listen to a non-standard port as ports 22 > and 23 are not available to me for this "project". :( > -=Conner=- SSH allows you to do this :) In the config there is a line specifying the port to listen on. This defaults to "Port 22", you just need to change it to your non-standard port. I'm not sure where the config is located in RedHat but in Debian it is: /etc/ssh/sshd_config. HTH -- Jon |
|
|||
|
"Jon" wrote:
> On Sun, 12 Dec 2004 13:48:06 -0500, Conner Destron wrote: >> I could try putty, that would give me the ability to use ssh instead of >> telnet, but I still really need to be able to set up the service in >> question, be it telnet or ssh, to listen to a non-standard port as ports >> 22 >> and 23 are not available to me for this "project". :( > > SSH allows you to do this :) > In the config there is a line specifying the port to listen on. This > defaults to "Port 22", you just need to change it to your non-standard > port. > > I'm not sure where the config is located in RedHat but in Debian it is: > /etc/ssh/sshd_config. I'll check there and see if it's the same, hang on... it is! Ok, I changed that and restarted sshd, it seems to work, now I have to find putty and install it so I can see if it actually works, eh? -=Conner=- -- Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family fun in a medieval setting, or come test your mettle in the Land of Legends, our MUD, at telnet://tcdbbs.zapto.org:4000 For general info, visit http://www.tcdbbs.zapto.org |
|
|||
|
"Conner Destron" wrote:
> "Jon" wrote: >> On Sun, 12 Dec 2004 13:48:06 -0500, Conner Destron wrote: >>> I could try putty, that would give me the ability to use ssh instead of >>> telnet, but I still really need to be able to set up the service in >>> question, be it telnet or ssh, to listen to a non-standard port as ports >>> 22 and 23 are not available to me for this "project". :( >> >> SSH allows you to do this :) >> In the config there is a line specifying the port to listen on. This >> defaults to "Port 22", you just need to change it to your non-standard >> port. >> >> I'm not sure where the config is located in RedHat but in Debian it is: >> /etc/ssh/sshd_config. > > I'll check there and see if it's the same, hang on... it is! Ok, I changed > that and restarted sshd, it seems to work, now I have to find putty and > install it so I can see if it actually works, eh? That did it, thanks Jon!! :) -=Conner=- -- Visit The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org for some family fun in a medieval setting, or come test your mettle in the Land of Legends, our MUD, at telnet://tcdbbs.zapto.org:4000 For general info, visit http://www.tcdbbs.zapto.org |