Solved

telnet redirect

Posted on 2004-09-23
2
433 Views
Last Modified: 2006-11-17

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
Comment
Question by:Ted22
2 Comments
 
LVL 5

Accepted Solution

by:
paranoidcookie earned 125 total points
ID: 12141641
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
 
LVL 14

Assisted Solution

by:pablouruguay
pablouruguay earned 125 total points
ID: 12141742
not using telnet. use SSH

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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question