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 would not use telnet! Use ssh if you can. You may be able to use the rcp command if that traffic is allowed and the r commands are enabled, but seriously, use ssh tools if you can:
Is it possible to copy files from a telnet from a linux box onto the local hard drive of the computer that you are using to telnet?
Hi,
You may try these commands to copy files from telnet to local pc:
# smbclient \\ipaddress\sharename -U sharename
(Now,It will prompt for username and passwd)
# get filename
(Not that particular file will be copied to your local drive)
You could pipe the file using tar & netcat. Using telnet, you would tar the file, piping the output to netcat. On the receiving end, use netcat with the -l (listen) option and pipe the output to tar to extract the file.
---
Using ssh, with PKA, you wouldn't have authentication getting in the way and could do it directly:
tar -C directory/ -cf - file(s) | ssh user@host tar -C dest_dir/ -xvf -
You could transport a directory hierarchy this way securely to another computer over the internet using ssh & tar.
You might try it with telnet instead of ssh. I don't have a telnet server on my network to test it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.