LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-23-2007, 04:53 AM   #1
n0dl
LQ Newbie
 
Registered: Feb 2006
Location: @sh0u
Distribution: The linux one
Posts: 11

Rep: Reputation: 0
SSH or telnet (kereberos)?


Hello,
I am going to be running a webserver and would like to know which is better to use for logging into the server to do work on it, telnet or ssh. I know SSH is good if I am the only one using it, however, I have a friend that is not within my network who will be using it as well. Should I set up a VPN usable with SSH or should I use telnet based logins?
 
Old 03-23-2007, 05:19 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If the port you use for ssh is forwarded to your machine in the LAN, there is no reason that user can't also use ssh. Put both your user names in an "AllowUsers" line in /etc/ssh/sshd_config to block attempts against system users. Alternately, you could add yourself and the other user to a group created to control ssh access. Then use "AllowGroups" instead. Also make sure that you disable root ssh logins. Often, a different port is used for ssh to reduce the number of script kiddie attacks. You could translate the port number on your router/gateway so that the port is translated to port 22, or you can change the port that sshd listens to.

Last edited by jschiwal; 03-23-2007 at 05:21 AM.
 
Old 03-27-2007, 03:47 PM   #3
n0dl
LQ Newbie
 
Registered: Feb 2006
Location: @sh0u
Distribution: The linux one
Posts: 11

Original Poster
Rep: Reputation: 0
sorry for the late reply work and midterms.
In any case, the user is not within my lan, nor is the port I am using being fowarded (I dont think the default ubuntu kernel has port fowarding enabled, although I can always compile a new kernel if necessary). However, if i enable port fowarding wouldnt that require me to create a tunnel on the server machine (as well as the clients) in order for other users not within my LAN to use it?

Last edited by n0dl; 03-27-2007 at 03:53 PM.
 
  


Reply



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
X over SSH then telnet JSkalka Linux - Security 5 11-21-2003 04:19 PM
SSH/Telnet kbeaver Linux - Networking 8 07-22-2003 10:31 AM
Telnet, ssh, etc. mrozkan *BSD 1 07-18-2002 11:55 AM
Telnet and SSH Rampage2884 Linux - Networking 3 04-30-2002 02:31 PM
Telnet / SSH Seph Linux - Security 2 07-13-2001 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:21 AM.

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