Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am aware of the Implications of using telnet, only my linux box is at home and none of the data is sensitive.
I was actually in need of a good remote text editor? I can run emacs but i find that difficult to use. Is it possible for me to run a prog like a Kwrite remotely?
I'd say vi - but thats worse than emacs to learn. If you have Pine installed (the mail client) then you can use 'pico' its nice and simple.
I take it that K write is an X application? You can run X apps externally you just need an X server running on the machine your sat on then you set your DISPLAY environment to point to the machine you're sat on too.
Originally posted by Ricardo77uk I am aware of the Implications of using telnet, only my linux box is at home and none of the data is sensitive.
I was actually in need of a good remote text editor? I can run emacs but i find that difficult to use. Is it possible for me to run a prog like a Kwrite remotely?
Cheers
It's less a question of how sensitive your data is and more one of how dangerous your system can be to others if rooted.
To use a (charged) analogy, people lock up their guns because they are worried about the cost of replacing them, but moreso the damage that that a stolen gun can cause.
While the risks are admittedly small that you can get rooted, you don't really want to unknowingly be a participatory node in the next DDoS attack.
someone could easily (if you didnt watch your machine) log into it, then do whatever he wanted, whether it be break into a system or a DoS attack. The IP would be from your machine. and you would be liable. Thats why hackers do it; so they cant get caught.
Even if you login and user X and then become a superuser, a decent packet sniffer on your subnet can watch everything being sent between client/server. If you're on a cable modem your audience is probably much larger.
Using something like ssh establishes a secure (encrypted) connection at login and for the session.
it would look something like this.
Code:
user@host:/ ssh -l username 192.168.0.3
Once you have logged in, you can use 'su' to become the superuser (root) after you supply the root password. You could also set up 'sudo' as well.
'sudo' is a method for keeping superusers accountable for varying levels of access. Try 'man sudo' and read up on it. If you are the only superuser on the box then it's really not much more than an academic excersize.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Learn VI. Its not bad at all once you get the hang of it and you will be much happier with the performance and simplicity than exporting an Xsession just so you can edit a text file. Its also the defacto standard in ALL Linux and UNIX variants. Very very good to know.
You can secure your telnet daemon with the /etc/hosts.allow and /etc/hosts.deny options so that only your internal addies can use it, but I still recommend SSH because if you ever use Linux in the outside world it will be good to know.
I highly recommend PUTTY if you will be telneting or SSHing from a Windows box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.