Results tagged “SSH” from CLICK

The beauty of X over SSH

| | Comments (0) |

ssh_windows_debian.jpg

(Here is a screenshot of my Windows XP desktop using PuTTY and Xming to tunnel X over SSH from The Self-Reliant Thin Client running Debian Etch. Click the picture above for a full 1280x1024 image. Clockwise from left, I'm running GNOME's Update Manager, a console with PuTTY and the Rox-filer file manager).




I haven't set up a box to use with X over SSH in a while, so I set it up on The Self-Reliant Thin Client, which has been running Debian Etch off of an 8 GB Compact Flash chip for more than 40 days at this point.

I hadn't used my go-to SSH and X apps in Windows XP to access a Unix-like box in a long while. I actually had to find PuTTY before I could create a shortcut and run it. I already had an Xming shortcut, so I started that and left it in the background until I was ready to begin my X session.

If you use both Windows and Linux/Unix boxes and are not familiar with PuTTY and Xming, you're really missing out. In case it's not totally clear above, PuTTY enables you to run an SSH console session from your networked Unix-like box, and Xming allows you to run X apps over that same connection.

It's all good, clean geeky fun, especially over a local network. One of these days I'm going to experiment with dynamic DNS and figure out how to SSH from a box that isn't in the same building. The stakes there are a bit higher, as the box is out there on the Internet for all to see. But with the proper tools and procedures in place, everything should be secure.

Still, running Linux apps both in the console and in X on a Windows box really never does get old (to me at least).

Related:

  • Previous entries about PuTTY and Xming

  • I've been running Debian Etch via SSH from a Windows box for a couple days now

    | | Comments (1) |

    I'm pretty lazy. I turned off the monitor and have pretty much been running a Debian Etch box over SSH on the local network from my Windows box.

    I'm using PuTTY to start the session, then Xming to run X apps. Before all this worked, I had to install sshd on the Debian box and then enable X over SSH.

    The last time I played around with this, I got over my thing about running a full GNOME desktop over SSH. That just doesn't work. But I can certainly run any X app I want with Xming.

    It's pretty sweet. Next thing I want to do is run a terminal over the serial port. I almost had it figured out with my old Powerbook 1400, but not quite. I'll have to try with a Windows box. I just need a DB25-DB9 with the proper genders to get my null modem cable hooked up.

    A Powerbook 1400 talks to a Linux box (and actually hears back)

    | | Comments (1) |

    It was my initial frustration with just getting my Powerbook 1400cs to work at all with the "modern" World Wide Web and Internet e-mail that led me to abandon the project (and the resulting This Old Mac blog for the infinitely greener pastures of Linux and BSD on older, cheaper, more-compliant PC (as in IBM-PC, or Windows and MS-DOS compatible) hardware.

    But I never forgot about the Powerbook 1400. Sure, I didn't take it out of the bag for over a year, but when I got it in my head that I could use the Powerbook not as a stand-alone Linux box (the only alternative for this vintage of PowerPC-equipped Mac being MkLinux, a distro as dead as can be and not even downloadable) but as a terminal with my many Debian, OpenBSD and various other Linux/Unix setups.

    I did get to the point where I had wired and even wireless networking on the Powerbook, and with the most modern browser I could find (the hard-to-get Netscape Communicator 4.8), I could kind of, sort of use the Powerbook with the Macintosh System 7.6.1 for basic Web browsing. Before I go on, everything I know about 7.6.1 I learned from the fine people at System 7 Today, a terrific resource for anybody thinking of running an old Mac on System 7.

    That's where I got MacSSH, which, not coincidentally, I managed to configure today to run an SSH session over the local network with my Debian Etch box. First of all, read the documentation for MacSSH. I had to create a "Favorite" for my Debian box, and part of that was creating the SSH keys.

    Once I turned off compression and selected MD5 authentication, the connection began working. I typed in the password for my SSH key when the Mac prompted me (I picked a long password, unfortunately). As the MacSSH documentation suggested, I entered my account name for the Debian box, but not the password.

    I was prompted for that, and upon entering it, I was in a Debian shell.

    Basic commands worked fine, as did the Lynx text-only Web browser. I could even post to LXer.

    Things seemed to get a little hinky when using vi and nano to edit configuration files, and I couldn't get the function keys to work (and they're kind of essential for Nano, at least).

    And while running X on a computer with a 117-or-so-MHz PPC processor and 48 MB of RAM. But I'd like to try.

    See, I get an old Powerbook to actually run a console session with a real, live Linux box, and already I want to get X on a machine that in all likelihood can't handle it.

    But I've already got quite a few leads on how to get an X server running, mostly for OS 9, but a few that just might work in System 7.

    And while I'm at it, I got into System 7.6.1 and couldn't remember how to open a text editor. I didn't want to use MS Word (which I do have, and which is slow as anything, even though it's the PowerPC build), WriteNow (very quick, but can't make credible text files).

    It took me a minute or so to remember SimpleText. I'm not sure whether or not I'm actually generating ASCII text, but it is quick, and yes, simple.

    Anyhow, my initial wish, when this project began a few days ago, was to connect to a Linux or BSD box via serial port. I got a cable that connects that weird round printer/modem port on the Powerbook 1400 to a DB9 serial port. I don't know whether or not it's a "null modem" cable, so I also got one of those at Fry's for a couple bucks, with an adapter to get the genders right on the DB9-DB25 connection.

    The only problem is that I can't seem to turn the Mac serial port on. I think I do have it. It has something to do with TCP/IP, but if I do turn on the serial port, I think I'll lose the connectivity I have over Ethernet with my PowerPort Platinum card. So since MacSSH is working, I'll stick with it.

    I still wouldn't mind getting Zterm to work over the serial port, since I wouldn't even have to open up SSH if I didn't want to (although I would have to enable serial connectivity, which I've done on the Linux end already).

    But just getting a 12-year-old, pretty-much-obsolete Macintosh to even run as a terminal with a modern Linux system is a great thing. (Somewhat ironically, but not really, the Powerbook would be less obsolete, I figure, if it had an older Motorola processor; then I'd have a snowball's chance of installing Linux or BSD on it, since many distros still support Motorola 68000 CPUs.)

    So I'll play with MacSSH for a few days and bask in the glory of actually finding something useful for the Powerbook 1400 to do. OK ... I could just, you know, use the keyboard connected to the actual Linux box itself, but what's the fun in that?

    Before I go: MacSSH seems to die when the Powerbook's screensaver turns on. No big deal, just an observation. The app itself doesn't die, but the session does.

    (Note: This entry was written with SimpleText in Mac System 7.6.1. It was then copied and pasted into a file with Nano, running via MacSSH, in Debian Etch. I then started an X session over SSH on my Windows box with PuTTY and Xming, then ran Geany and Iceweasel (aka Firefox) to copy and paste the entry into Movable Type, after which you see it here. Byzantine, yes, but that's part of the whole geek thing. One thing I will say is that the PuTTY/Xming combination is a great way to run X sessions over SSH from Windows boxes. I'd love for the same thing to be true with Mac System 7.6.1, or even OS 8.5 or 9, to which I'm reluctant to upgrade, but I'm not holding out hope, although I will now start looking for MacX 1.1.7, something Apple shipped with A/UX, to further my quest.)

    Tech Talk column

    Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

    About this blog

    New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




    Steven Rosenberg aims to learn what he does not know. He writes about it here.



    Recent Comments

    larrythefreesoftwareguy.wordpress.com on A Powerbook 1400 talks to a Linux box (and actually hears back): Steven -- You're indeed a brave man to take this on. I spent a lot of ...

    Powered by Movable Type 4.25

    Tags

    LXer

    Links

    Daily News technology
    LXer
    Distrowatch
    Linus' Blog
    David Pogue
    BoingBoing
    Linux Today
    TuxRadar
    Linux.com
    Linux Planet
    The Open Road
    Linux Outlaws podcast
    Dan Lynch
    Fabian Scherschel
    The VAR Guy
    Larry the Free Software Guy
    Chess Griffin
    Linux Reality podcast
    Desktop Linux
    Practical Technology
    Linux Devices
    ZDNet
    ZDNet U.K.
    iTWire
    CNet News
    Webware
    Beyond Binary
    TechCrunch
    The Register
    Ars Technica
    Reg Developer
    Computerworld
    Computerworld blogs
    Steven J. Vaughan-Nichols at Computerworld
    Debian
    Planet Debian
    Debian Forums
    Debian News
    debianHELP
    debiantutorials.org
    The Debian User
    Wolfgang Lonien
    Debian-News.net
    Debian Administration
    Debian Admin
    Debian Weather
    Aaron Toponce
    Ubuntu
    Xubuntu
    Kubuntu
    Edubuntu
    Gobuntu
    Planet Ubuntu
    Ubuntu Forums
    Ubuntu Geek
    Works With U
    OMG! Ubuntu!
    I' Been to Ubuntu
    Tanner Helland
    Dustin Kirkland
    Ubuntu UK Podcast
    Popey
    gNewSense
    CrunchBang Linux
    OpenBSD
    OpenBSD Journal
    OpenBSD Ports
    OpenBSD 101
    Planet.OpenBSD.nu
    jggimi's OpenBSD live CD
    DaemonForums
    BSDanywhere
    Marc Balmer
    Denny's OpenBSD blog
    Polarwave's OpenBSD Tips and Tricks
    Binary Updates for OpenBSD
    Puppy Linux
    Damn Small Linux
    Tiny Core Linux
    Lucky 13's Linux blog (lots of Tiny Core)
    Lucky 13's BSD blog
    PCLinuxOS
    Mandriva
    Red Hat
    Red Hat News
    Red Hat Blogs
    Red Hat: Truth Happens
    Red Hat Magazine
    CentOS
    Planet CentOS
    Fedora
    Slackware
    Slackbuilds
    Robby's Slackware Packages
    Slackblogs
    dropline GNOME for Slackware
    GNOME Slackbuild
    GWARE - GNOME for Slackware
    Wolvix
    Zenwalk Linux
    Vector Linux
    Slax
    Splack Linux — Slackware for Sparc
    Nonux
    How to Forge
    marc.info BSD and Linux mailing list archive
    FreeBSD
    FreeBSD, the Unknown Giant
    A Year in the Life of a BSD Guru
    NetBSD
    hubertf's NetBSD Blog
    PC-BSD
    DesktopBSD
    DragonFlyBSD
    DragonFlyBSD Digest
    DesktopBSD
    BSD Talk podcast
    BSD Magazine
    OpenSolaris
    MilaX
    BeleniX
    DeLi Linux
    Linux Loop
    Electronista
    Engadget
    Gizmodo
    xkcd – A webcomic of romance, sarcasm, math and language
    Nixie Pixel

    Advertisement

    Other blogs

    Sunday Soccer in Seattle: MLS Cup 2009 in 100 Percent Soccer
    The Top 25 in Inside USC with Scott Wolf
    More on Vijay: The success stories don't end here in Farther Off the Wall
    HS FOOT: Taft's Morgan closing in on 5,000 yards in Daily News High School Spotlight
    A cool little note... in Inside UCLA with Jon Gold