Re: xterm binary ascii transfer
- From: Jeff Silverman <jeffs@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 08 Jan 2006 00:25:26 -0800
On Fri, 06 Jan 2006 00:59:31 +0100, yyy wrote:
>
> i have a crude remote system with an ethernet connection but no real
> network software (ftp, ssh, nfs). i have access to the machine via an
> xterm session. is there a way to transfer binary files through such a
> channel ?
>
> i managed manually to send binary files encoded as hex values using od.
> pasted them into the xterm buffer and decoded with the printfs on the
> target system. it did work, but was slow and tedious. is there a way to
> automate it ? zmodem or any serial protocol operating on the clipboard ?
Boy, are you doing things the hard way, and it not only costs you effort,
but it makes your system less secure. In short, the way you are doing
things now is bad, bad, bad. So stop it, right now. I mean it.
The sysadmin on either the remote machine or the local machine (preferably
both) should set up an sshd. Sshd allows you to login to a machine with
almost perfect security. You can, if you wish, "tunnel" the x-windows
protocol through SSH, which is A Good Thing. The X-windows protocol is
easily wiretapped, it is insecure. ssh, by way of contrast, is very
secure and you can make it more secure with proper configuratoin. Once
the sysadmin(s) have sshd running, which is a snap, then you can use
either scp or sftp (or similar) to transfer files with perfect fidelity
and ease.
If *you* are the sysadmin on one or both of these machines, then I am very
concerned that you may be missing several pieces of the computing security
picture. Run, don't walk, to your nearest bookstore, buy a book on system
administration and read it. "Essential System Administration, 3rd
edition", by Æleen Frisch is excellent.
What you are doing now is heroic and utterly useless. So stop it.
Jeff
.
- Follow-Ups:
- Re: xterm binary ascii transfer
- From: Steve Foley
- Re: xterm binary ascii transfer
- From: yyy
- Re: xterm binary ascii transfer
- References:
- xterm binary ascii transfer
- From: yyy
- xterm binary ascii transfer
- Prev by Date: Re: problems with GRUB; Fedora and Windows XP
- Next by Date: Suse 10 will not boot after kernel upgrade
- Previous by thread: xterm binary ascii transfer
- Next by thread: Re: xterm binary ascii transfer
- Index(es):
Relevant Pages
|