LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2004, 08:33 PM   #1
WarrenWright
LQ Newbie
 
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21

Rep: Reputation: 15
Opening a linux session remotely from windows?


Hi,

Is there any software out there that would allow me to open a shell remotely on a windows box? Specifically, I have a linux server upstairs (desktop), and would love to be able to take my wife's laptop (on a wireless network) and open a terminal window so I can enter shell commands to the linux box from anywhere in the house.

Is this possible?

I saw someone post about PuTTY, and their brief description made it sound like I could do that, but come to find out that PuTTY is just a linux emulator for windows.

Thanks,

warren
 
Old 02-02-2004, 08:36 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
a linux emulator ?
go here
its a telnet / ssh client ..
 
Old 02-02-2004, 08:49 PM   #3
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
er, it's not a linux emulator. It's an ssh client/terminal emulator.
 
Old 02-02-2004, 09:09 PM   #4
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
What you have to do is set up the telnet or (preferably) SSHd on the linux computer. Then you use PuTTY to connect to it remotely.

If you want a GUI instead of a text shell you can use VNC. VNC is cross-platform and uses the same kind of client/server setup: You set the linux box up to be the server and you connect to it using the VNC client.

Hope I cleared that up.
 
Old 02-02-2004, 09:09 PM   #5
WarrenWright
LQ Newbie
 
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
Riiighhht.....I guess thats why I'm still posting in the newbie forum...inability to understand documentation describing what I'm really looking for when I see it.

Thanks for the kick,

Warren
 
Old 02-03-2004, 12:06 AM   #6
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
If you consider using VNC in the future, then you should read this website I ripped out of these forums:

http://freesco.no-ip.org/VNC/
 
Old 02-03-2004, 03:04 AM   #7
bobthebaritone
Member
 
Registered: Aug 2003
Location: Newington, Sydney, Australia
Distribution: Fedora Whitebox 4 Ubuntu
Posts: 40

Rep: Reputation: 15
G'day Warren,

Congratulations on using your name mate!

I prefer TightVNC, which is more robust....

If there is no security concerns telnetd or sshd are OK. Havent used Fedora, but most recent Redhat stuff doesn't have telnet enabled.

On your linux box you would need to run "service --lstatus-all" to see what is available...

VNC needs setup on the linux box. Run vncserver on the linux box and follow the prompts. Make note of the display that you need to connect to eg <hostname.home.net>:1

You will need to install VNC viewer (tight VNC ) on the windows box. This will give you a full desktop!

Cheers
 
Old 02-03-2004, 07:16 PM   #8
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Telnet maybe is OK if you have a completely private network, but it is a bad habit if you ever have to use a serious network.

It's such a bad habit that I suggest you never use telnet, rlogin, rsh, etc. Disable in.telnetd. ssh is sufficiently easy to use that it's no real loss.
 
Old 02-03-2004, 07:52 PM   #9
bobthebaritone
Member
 
Registered: Aug 2003
Location: Newington, Sydney, Australia
Distribution: Fedora Whitebox 4 Ubuntu
Posts: 40

Rep: Reputation: 15
service --lstatus-all - that should be service --status-all!!!

Any X session "should" be redirected through ssh. Never done this though! Tight VNC and Cygwin can be used to achive this on the windows box - not newbie stuff!

Warren, how secure is the wireless stuff? Have you put encryption on it?

Cheers
 
Old 02-03-2004, 09:32 PM   #10
WarrenWright
LQ Newbie
 
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bobthebaritone
[B]Warren, how secure is the wireless stuff? Have you put encryption on it?

Cheers
It's not safe at all. I think pretty much anyone could drive up in front of my house and hack in...that is on my short list of things to change!

So, on my list:
  • Put encryption on my wireless network.
  • Get secure remote access to my linux box working (thanks for the help so far!)
  • Get my Fedora linux box to recognize the sound card (the automatic detection fails).
  • Get my HP 3820 and HP Photosmart printers shared from my linux box so that my XP laptop with wireless network card can print on them (ack!).

Thats some list for me, having just done my first linux installation!

At least I have some memory of using unix from college (comp sci degree)...so I'm loving the rich shell environment. I was always the kind of windows developer that uses every keyboard hotkey he can get his hands on.

Warren

Last edited by WarrenWright; 02-03-2004 at 09:34 PM.
 
Old 02-03-2004, 09:51 PM   #11
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
wep is inherently insecure. If it's REALLY important not to be eavesdropped on, wireless isn't a good way to go right now.

Hopefully some day in the future this will be fixed. But don't let yourself develop a false sense of security just because you use wep.
 
Old 02-04-2004, 11:19 PM   #12
WarrenWright
LQ Newbie
 
Registered: Dec 2003
Location: Dallas
Distribution: Fedora Core 1
Posts: 21

Original Poster
Rep: Reputation: 15
Well, I have PuTTY working fine now from my win2k laptop using the SSH option (SSH 2 with compression).

It works very well! The only thing I'm a little questionable on is that I used "Samba_Server", the netbios name I set up in Samba as the name I connect to in PuTTY. Will that work in the long run, or do I need to do something else that would be new to me, and install a DNS server to establish Samba_Server as a permanent name on my local network, where IPs change dynamically....

I'm guessing its fine as is, but none of those questions are in my league to answer quickly, so I toss them out to you guys!

Anyway, quite cool to be able to configure linux remotely through normal terminal sessions.

So much to learn....

Warren
 
Old 02-04-2004, 11:24 PM   #13
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
That is a good question/issue. There are some tips on making scripts to email you the new ip address whenever it is changed. That's beyond my experiences with this. Fortunately, I have my machine running on the University campus, so I have a regular dhcp address name (although the IP changes I believe).

Welcome to the infinite world of AMAZING linux tricks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to a local X session remotely? SocialEngineer Linux - Networking 6 12-23-2004 02:27 AM
Starting program remotely and have them continue to run after the session is ended OJAtkinson Linux - General 2 12-07-2004 01:06 PM
How can connect to Linux remotely from a Windows machine? imsam Linux - Networking 2 07-27-2004 10:01 PM
Linux remotely through Windows surban99 Linux - Newbie 14 05-04-2004 07:56 AM
How do you continue a session remotely? cdccarson Linux - General 4 09-08-2002 10:10 PM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration