New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

SSH connection to Mac from PC


Post Reply New Thread Subscribe

 
Thread Tools
gotenks05

 
gotenks05's Avatar
 
Member Since: Oct 23, 2006
Posts: 64
gotenks05 is on a distinguished road

gotenks05 is offline
awhile back I discovered that I could access my Mac from a PC using VNC and SSH. I've tried out SSH and the connection worked great, because I tested it with my Windows XP virtual Machine. However, I do not know if any of the computers outside my home will be able to access it. What can I do to ensure that I can access my Mac from school/work computers? I've already got PuTTy for Windows, which did not require installation (like most Windows program do require installation), so I plan to run it from my USB Flash drive (memory stick). Also, I've seen an SSH connection from Mac to a Linux machine bring up the GUI of the Linux computer, could I expect the same thing from an SSH connection to my Mac from a Windows PC?
QUOTE Thanks
Title27GT

 
Member Since: Jun 15, 2007
Location: New York, NY
Posts: 270
Title27GT can only hope to improve

Title27GT is offline
In my experience, yes. It should work. I used this technique very rarely as a way to transfer notes. I've never seen an SSH connection from a Mac to a Linux which is the only reason I'm a bit skeptical that you'll see the same results in a Mac-to-PC.
QUOTE Thanks
bmcgonag

 
bmcgonag's Avatar
 
Member Since: Apr 11, 2007
Location: New Mexico, USA
Posts: 361
bmcgonag will become famous soon enough
Mac Specs: 15" MBP 2.0 GHz, Core Duo, 2 GB Ram

bmcgonag is offline
SSH is SSH, as long as you have the appropriate software installed, and the server running, you shouldn't have any trouble.

As far as bringing up the GUI on the mac from linux in SSH, it was probably using X, the linux graphic environment, which works on mac because it is based around unix.

Not gonna work in Windows. Sorry. You'll have to use the VNC server on the mac, and a VNC client on windows, (Real VNC, Tight VNC come to mind immediately as free vnc viewers for windows, and Chicken of the VNC is a viewer for the mac).

The other thing to consider is if you are using not only a modem at your home, but a router as well, you will need to do some port forwarding in order to tell your router which machine you are trying to reach when you attempt to connect from outside your own network.

so, google "What's my ip?", and click the first link...don't use the ip in the link text, but actually click the link and see what your public IP is.

That's the IP you'll have to use to get to your home modem and router through SSH, Browser, VNC, whatever. Now find out what the private IP assigned to your home computer is, and log in to your router, and setup port forwarding for port 5900 (VNC Server) to your desired computer's private ip inside your network. do the same for port 22 (SSH) and 80 and 8080 (Website server).

Now if you type in the public ip from outside your home you should be able to raach the desired machine.

Best,

Brian
QUOTE Thanks
gotenks05

 
gotenks05's Avatar
 
Member Since: Oct 23, 2006
Posts: 64
gotenks05 is on a distinguished road

gotenks05 is offline
Quote:
Originally Posted by bmcgonag View Post
SSH is SSH, as long as you have the appropriate software installed, and the server running, you shouldn't have any trouble.

As far as bringing up the GUI on the mac from linux in SSH, it was probably using X, the linux graphic environment, which works on mac because it is based around unix.

Not gonna work in Windows. Sorry. You'll have to use the VNC server on the mac, and a VNC client on windows, (Real VNC, Tight VNC come to mind immediately as free vnc viewers for windows, and Chicken of the VNC is a viewer for the mac).

The other thing to consider is if you are using not only a modem at your home, but a router as well, you will need to do some port forwarding in order to tell your router which machine you are trying to reach when you attempt to connect from outside your own network.

so, google "What's my ip?", and click the first link...don't use the ip in the link text, but actually click the link and see what your public IP is.

That's the IP you'll have to use to get to your home modem and router through SSH, Browser, VNC, whatever. Now find out what the private IP assigned to your home computer is, and log in to your router, and setup port forwarding for port 5900 (VNC Server) to your desired computer's private ip inside your network. do the same for port 22 (SSH) and 80 and 8080 (Website server).

Now if you type in the public ip from outside your home you should be able to raach the desired machine.

Best,

Brian
I finally accessed my router, but I can't seem to figure out how to do port forwarding. I know that I can sign up at dyndns.org. I also got my IP address, thanks to IPchicken. I have a linksys router, but don't know the model. Also, I just went up to Utah and a friend told me about a program called Mac DNA or Whatever its name was, which was supposed to let me connect to a Mac from an outside computer (just like VNC). He described as a Linux program that should work on Mac, Linux (duh), and Windows. If anyone has heard of such a program, can they tell me what it is. The router is all I have, so I am using my Mac's airport and the router.
QUOTE Thanks

Post Reply New Thread Subscribe


« Help me switch! | Question about an update »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
iPod connection from windows to mac Jonster iPod Hardware and Accessories 6 08-30-2005 11:51 AM
SSh program for mac osx pinehead OS X - Apps and Games 6 06-17-2005 02:36 PM
Midi connection for Mac mini? Hdtvman Apple Desktops 4 03-05-2005 12:54 PM
Internet connection is spewfed on my mac Anna OS X - Operating System 0 03-20-2004 06:23 AM
Dialup on new Powerbook keeps dropping connection, (Mac OS n00b) StealthMode OS X - Operating System 2 09-09-2003 01:12 AM

All times are GMT -4. The time now is 08:22 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?