Hi Kau2,
like zparihar said, you should use ssh instead of telnet.
If SSH doesn't work properly and your sshd is running (/etc/init.d/sshd status), try the following :
# netstat -an | grep 22
tcp 0 0 :::22 :::* LISTEN
If you don't get any result, your daemon isin't listening on port 22(default for SSH).
To try to fix it :
a) stop the daemon
- - # /etc/init.d/sshd stop
b) edit the sshd config file (should be in /etc/ssh/sshd_config) and verify the following (the line numbers can be different, I'm looking at my own file now):
- - Line 13) Port 22 #this is the default port for ssh
- - Line 14) Protocol 2 #better than protocol 1 and you can use banners
- - Line 37) PermitRootLogin no # very important for security reasons
- - Line 78) X11Forwarding yes # if you wanna forward your display on your WinXP
- - Line 91) Banner /var/mypath/banner # If you wanna put a banner on the ssh login before the password entry
c) restart the daemon
- - # /etc/init.d/sshd start
d) verify that no error message was issued
- - # tail /var/log/messages
e) retry to look at port listening
- - # netstat -an | grep 22
now try accessing your linux from himself of from a WinDho! box (my favorite tool on Windows is
PuTTY)
Do not use FTP server unless you need to permit Anonymous access ...
I agree again with zparihar for using ssh to do file transfer ... it's a bit slower but much much more secure
I use
The Core but there is A LOT of freewares out there that can do it.