Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-17-2004, 07:39 AM   #1
Registered: Apr 2002
Location: Sydney, Australia
Distribution: Mandrake
Posts: 73

Rep: Reputation: 15
Setting up sshd

Hi, I am behind I router and want to set up an ssh server on my computer.

I have installed open ssh server, and it has automatically added itself to services starting at boot, however sshd-xinetd is also there but has "start when requested" unchecked. Does this refer to an addition in the configuration for xinetd? Should both be checked? Should I only have ssh-xinetd?

Now, when setting up the router, I assume I just port forward the ssh port to my computer. My router has the ability to forward a wan port of X to a private port of Y. Should I do this for security reasons? What benefit could there be to running the server on a different port?

Finally, is there anything else I should do to increase the security of the SSH server?

Any info is appreciated
Old 05-17-2004, 07:48 AM   #2
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
This is my and only my opinion :

I would say you dont have to change you remote port for anything else... Anyway, you will have to open something and that something WILL be scanned... Make sure OpenSSH is patched correctly if required.

You are right about the router, all you need is portforward.

Never heard about ssh-xinetd ... Mayby it is platform dependant or maybe ssh-agent (wich is a login helper)... But sshd is working fine ??!!?? If yes, I would say you're almost done :-)

Some Security Enhancement:

- No ROOT Login !!!!
- SSH2 protocole only

You could even go farther if you would like....

- No password authentification, only RSA keys (pretty restrictive)

That's it!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting SSHD to use protocol 2 instead of 1 Harlin Linux - Networking 2 11-23-2005 12:36 PM
[DEBIAN SARGE] problems setting up sshd to use tcpwrapper nonutopia Linux - Security 1 08-23-2005 08:04 AM
Sshd TimeBandit Linux - Software 4 06-20-2005 11:00 AM
Problems Setting up SSHD nistelrooy Red Hat 1 11-10-2004 10:09 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 12:17 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration