Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

telnet redirect


If I
"rsh -l username ipaddress command > to file on local computer"
I can run a command on a remote computer and redirect the output to a file on the local computer.

Is there any way to do this using only telnet?
If not, is there any way to transfer a file using only telnet?

Do to a gateway problem I can only connect one way and cannot ftp back to the local computer.
ftpd is not running on the remote box.
I cannot make changes to the remote computer.

0
Ted22
Asked:
Ted22
2 Solutions
 
paranoidcookieCommented:
I dont konw a way to do it in telnet usually ftp or network shares are used for files transfer, you could use scp (secure copy) through an ssh session.
0
 
pablouruguayCommented:
not using telnet. use SSH

 ssh user@host 'ls -lps /home/xxxx'
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now