Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Remote Access
PureHeart
post Mar 14 2006, 09:53 AM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 209
Joined: 7-October 05
From: Đà Nẵng City - Việt Nam
Member No.: 8,966



I need to access my computer from outside, via TELNET.
Could you please tell me what to do. Which port do I need to open?
My current distro: Fedore Core 4.
Go to the top of the page
 
+Quote Post
yordan
post Mar 14 2006, 10:28 AM
Post #2


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,242
Joined: 16-August 05
Member No.: 7,896
myCENTs:56.55



Doing like this usually worked for me, it should also work for you. Just try it

Enabling telnet :
cd /etc/xinetd.d
cat telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}
replace disable=yes by disable=no
and restart xinetd or simply reboot your linux system.


how to restart xinetd withour rebooting :
cd /etc/rc.d/init.d
./xinetd restart


Hope this helped
Yordan
Go to the top of the page
 
+Quote Post
xboxrulz
post Mar 14 2006, 03:28 PM
Post #3


Colonel Panic
Group Icon

Group: [MODERATOR]
Posts: 2,890
Joined: 25-March 05
From: Toronto, Ontario, Canada
Member No.: 3,233
myCENTs:37.19



or, you can get krdc or krfb.

xboxrulz
Go to the top of the page
 
+Quote Post
hatim
post Mar 14 2006, 05:32 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 196
Joined: 17-June 05
From: Topi,Swabi,NWFP,Pakistan
Member No.: 6,301



telnet is fine ..but i think u should stick with SSH , its encrypted and should be the default wayto access remote systems. SSH has alot of goodies like Xforwarding and tunneling. If you need a good ssh client for Windows try , putty. I know Telnet is there on default Windows sytems..but putty is very smal application and any one can download it easily.

On another note .
I wonder when would WIindows come with builtin ssh support.
Go to the top of the page
 
+Quote Post
aciminsk
post Mar 21 2006, 05:43 PM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 18
Joined: 20-February 06
Member No.: 11,431



QUOTE(hatim @ Mar 14 2006, 07:32 PM) *

telnet is fine ..but i think u should stick with SSH , its encrypted and should be the default wayto access remote systems. SSH has alot of goodies like Xforwarding and tunneling. If you need a good ssh client for Windows try , putty. I know Telnet is there on default Windows sytems..but putty is very smal application and any one can download it easily.

On another note .
I wonder when would WIindows come with builtin ssh support.


Agree, if you want to keep you password and user name secure, you shoud use ssh. Telnet sends all the information unencrypted and is a big hole for peepers. As for the ssh client for Windows, it's available at ssh home site. Other third party options are available as well. I'm using SecureCRT.

This post has been edited by aciminsk: Mar 21 2006, 05:44 PM
Go to the top of the page
 
+Quote Post
mastercomputers
post Mar 21 2006, 06:35 PM
Post #6


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



As a long time Fedora Core user, and now Fedora Core 5 user, I still would recommend SSH over Telnet.

I would suggest turning off SELinux if you haven't done so but it may cause problems, even in FC5, customising policies for every single aspect is not what I am wanting to do, and is just as bad as running scan disk and defrag on a windows box, it's too time consuming.

First I would check if you have OpenSSH-Server:

CODE

rpm -qa | grep openssh


If that doesn't return openssh-server, then I'd use yum to install it:

CODE

su -c "yum -y install openssh-server openssh openssh-clients openssh-askpass"


Hopefully that will also resolve the needed dependancies from the repositories that you download from.

Next would be starting the sshd server

First check that it's not already running:

CODE

pgrep sshd


If any PID numbers return, it's running, if not do as below:

CODE

su -c "/sbin/chkconfig --level 2 sshd on"
su -c "/sbin/service sshd start"


Just to explain the above, we make sure that sshd will be started as a service next time, we then start it manually (one off thing to do if you make it a service to run when your computer starts).

Next would be testing it out:

CODE

ssh -l YourUserName localhost


If all goes well you should be logged in as YourUserName@localhost

You can also use it for SCP/SFTP using clients that support it, as well as if you're a GUI user, you might be able to track down a GUI frontend for SSH or a GUI SSH Client.

And before I forget, make sure you configure your firewall to allow SSH (usually port 22).


Cheers,


MC
Go to the top of the page
 
+Quote Post
xboxrulz
post Mar 21 2006, 11:52 PM
Post #7


Colonel Panic
Group Icon

Group: [MODERATOR]
Posts: 2,890
Joined: 25-March 05
From: Toronto, Ontario, Canada
Member No.: 3,233
myCENTs:37.19



well, I use VNC instead. It works beautifully, I got my computer to work with it, easier than ssh IMO.

I don't know if it's really less secure than SSH but I know it works.

xboxrulz
Go to the top of the page
 
+Quote Post
yordan
post Mar 22 2006, 09:54 PM
Post #8


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,242
Joined: 16-August 05
Member No.: 7,896
myCENTs:56.55



QUOTE
I don't know if it's really less secure than SSH but I know it works.

VNC can use enkrypted passwords, so it's partly secure.
Go to the top of the page
 
+Quote Post
Val-Amart
post Apr 8 2006, 06:39 PM
Post #9


Newbie [ Level 1 ]
Group Icon

Group: Banned
Posts: 6
Joined: 8-April 06
From: /usr/sbin/val
Member No.: 12,595



VNC uses much more memory, CPU and traffic, though it is less secure. Talking about SSH, I recommend OpenSSH, there are ports on many systems, including Windows, both server and client, and sources. It is developed by the guys from OpenBSD team, so it's as reliable, as OpenBSD itself. By the way, it's default server for most linux distributives.

This post has been edited by Val-Amart: Apr 8 2006, 06:42 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Remote Connection(5)
  2. Can't Access Root Anymore =((5)
  3. Access Linux Box From Windows Machine- Putty Tool(2)


 



- Lo-Fi Version Time is now: 5th December 2008 - 11:24 AM