
How do I get SSH & X Windows working?
A reader sent in an appeal for some Linux help this morning:
I have your book Teach Yourself Unix System Administration in 24 Hours, but still have some questions: First off, you can definitely get X running via SSH. Have a look at the so-called tunnelling capabilities of the ssh command that you access by appending it to the usual ssh invocation. Here's what the man page says: "ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine... X11 connections and arbitrary TCP/IP ports can also be forwarded over the secure channel". You might also check out how the '-X' flag to ssh works too, if you're working with X Windows. Copying files from one system to another via ssh is even easier: check out the sftp secure version of the FTP program. It is quite scriptable (as I explore in Wicked Cool Shell Scripts) if you don't want to use it manually too. Finally, in terms of setting up a secure-only login account, you'll want to turn off telnet access (see "inetd" or "xinetd") and give those folk regular login accounts: the only way they'll be able to connect will be via ssh. Hope this helps you out!
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
Unix and Linux Help
(Article 3747)
Tagged: Previous: How do I create a shell script on a Macintosh? Next: Did I break my Mac when I got the following error in Terminal? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.
Rather amazingly, there are no comments on this article yet.
I have a lot to say, but ...
I do have a comment, now that you mention it!
|
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|