[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Telnet to my machine



 
> I've set up a DNS to connect to my machine (with myip.org). It's a dial
> up machine and I want to connect to it from Univeristy coz I often
> forget my work. I'm wondering how I would go about telneting to my
> machine from University? 


first you need to check that your machine at the university has (open) 
access to the internet and not just HTTP proxy access. Can you telnet to 
other machines?

on the client just run telnet:
telnet mymachine.myip.org
then login with username and password.

on the server (your home machine) you need to make sure that it is 
configured to recieve telnet connections.
these lines should be in /etc/services
telnet     23/tcp    # telnet tcp
telnet     23/udp    # telnet udp

this line should be in /etc/inetd.conf
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

you need to make sure that you have installed in.telnetd (most likely be 
in /usr/sbin/)
you will also need to restart the inetd process if you have added any of 
these lines.


> Also, if I can, can I restrict which folders I
> would be allowed to enter? 


I dont know how you would do this. You have logged in to the machine and 
the shell you are running does not know where you are (at the console, 
or a 100 miles away).

> I'm thinking about using SSH but I'm not sure
> how to go about doing that either.
> 

You should *never* connect to your machine via telnet over a public 
network, so most of the advice above should be ignored (!). You really 
should use SSH.

at the client end run ssh
ssh  user [at] host.domain

(or if you are using a Wintendo box, use an ssh client like putty
http://www.google.com/search?q=putty )

I am using SuSE 7.1 and the ssh daemon process is started at boot time. 
The start up file is in /etc/rc.d and called sshd . You can tell if it 
is running by typing
ps -ef | grep sshd

and/or by trying to connect from localhost

ssh user [at] localhost

Give me a shout if you have any more specific questions.

Rob


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.