Re: xterm binary ascii transfer



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

.



Relevant Pages

  • Re: ssh through h/w router question
    ... I do something very much like this myself to get a "secure" tunnel to be ... Except for the ssh exploit that was running around a while ago, ... so they cannot even tell that sshd is ... > if they did, what could they do about it, since sshd refuses to even ...
    (comp.os.linux.security)
  • Re: [Full-disclosure] Why Vulnerability Databases cant do everything
    ... best to relegate programming to a ... is a big difference between these two views of information security. ... but not nearly as important as designing secure systems. ... My favorite example to illustrate this point - ssh. ...
    (Bugtraq)
  • Re: ssh with tcp_wrappers!! contd/-
    ... Thanks a lot for such a huge response, of course typing mistake, i was using DenyHost not DenyGhost; as suggested by david and others i did this, ... Login, as root, to my Linux system containing the sshd server. ... i am not willing to compile openssh package is there any way out via rpm installation. ... Then try to ssh to localhost. ...
    (RedHat)
  • Re: use ipchains to block all ports > 60,000
    ... else going on here except sshd which allows me to log in and monitor the ... Telnet not running but here's the ouput of ssh -V and sshd -V ... OK, ran that from an external box and it showed open ports 22, 80, plus ... My ISP looked for evidence of massive scans emanating from my ip address ...
    (comp.os.linux.security)
  • Questions on secure remote access to Fedora Core 2
    ... I am somewhat new to Internet security solutions in general and Linux ... I am setting up a server with Fedora Core 2 (there are specific reasons ... What is the most secure method I can use to give these individuals access ... under ssh. ...
    (comp.os.linux.security)