• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 452
  • 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.

2 Solutions
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.
not using telnet. use SSH

 ssh user@host 'ls -lps /home/xxxx'
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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