Remote connection, screen sharing, etc question

I'd like to remotely connect to my desktop either from a PC or another mac that isn't on my local network. I have a domain name registers, and i'd like to use this domain (godaddy.com) and just be able to type afp/smb/ssh (depending on if I'm on a mac or pc) and hhtp://www.mydomian.com and instantly get to my computer to change downloads and get files from an external drive, my OSX main disk, etc. I have a MobileMe account to, if thats any help. if I cant use my domain and somehow point it to my dynamic IP, I can use dyndns.
thanks

how would I set this up? do I forward 5900 (is that the ssh port?) and 22 on my router? or after that type ssh www.mydomain.com:5900? I'm not sure how to enable the ssh capability. I have remote management, screen sharing, file sharing, remote login, and web sharing enabled in settings, do i need anything else enabled, which ports exactly should I enable?
Assuming you want to maintain secure connections over the internet, I would suggest configuring your home router to forward a random high numbered port to your target home system's port 22. Most home routers allow this, but how to do it varies from manufacture to manufacture. A Google Search will most likely find instructions for your model router.
So lets assume you choose internet port 12345 to forward. Making an connect to your home system from the outside world would looks something like:
ssh -p 12345 [email protected]
That gives you an interactive shell login to your system.
If you wish to tunnel a screen sharing VNC session you would use something like:
ssh -p 12345 -L 5901:localhost:5900 [email protected]
Then using your VNC client of choice you would connect to
localhost:5901
Your VNC client would then talk to local port 5901, ssh would send this to the remote system's port 5900 which is the default VNC server port.
Using ssh to tunnel other protocols is done in a similar way, only the ports used will be different. Since I have only personally tunneled screen sharing, I'm not going to try to explain how to tunnel other protocols.
NOTE: You can specify as many ssh -L options on the command line as you like. Also the SSHTunnel utility can help you setup ssh tunnels.

Similar Messages

  • Remote desktop / screen sharing / VPN questions

    Hi all-
    OK, I am trying to set up our all-mac environment to do something in particular - but I am only 'novice' level at VPN stuff and 'noob' to the Apple Remote Desktop and Screen Sharing stuff. I already have screen sharing set up, and also have back to my mac set up - but these both seem to be 'whole computer' control methods, where the remote user takes over the entire target machine. I have a different need, but don't know what terms to use to describe it or how I might achieve it.
    Environment overview:
    2014 iMac, 2009 13" MacBook Pro, 2009 17" MacBook Pro - all running Yosemite.
    2013 AirPort Extreme handling the LAN, both wired and wireless. iMac is wired, MacBooks are wireless.
    iMac: Two users (UserA and UserB, both admins).
    MPB13: Two users (UserB as admin and UserC as standard).
    MBP17: Two users (UserA as admin and UserD as standard).
    I am wondering if this is possible to do, and if so - HOW? :
    UserB sits at the iMac, and is using it. UserA sits at MBP17 and wants to get something done on the iMac, so UserA logs into MBP17 as UserA then remotes into the iMac as UserA and does what they need to do in UserA's iMac account - without making UserB (who is still sitting at the iMac and using it) stop what they are doing.
    Hope this makes sense, and am looking forward to your input.

    UserA must have a user account set up on the iMac that is different from UserB. With this set up when UserA initiates a Screen Sharing session with the iMac from the MBP17 they will just need to log in with their user account. When they do that a dialog box will pop up asking if they want to share the display with the user currently using the iMac, in this case UserB, or if they want to connect to a Virtual Display, which would give them their own environment separate from UserB who is already logged in and using the iMac.
    Here is an example of the dialog box UserA should see when they attempt to start a screen sharing session with another Mac in which another person is already login in and using the Mac. In this case UserA will select the option to connect to the Virtual Display which allows them to work on the iMac without disturbing the user that is already using the computer. Note that the user already using the iMac may experience a slight performance hit because two users are using the resources on the one computer.
    As for the acronym VPN, it stands for Virtual Private Network which is a protocol for making a encrypted secure connection over a public network between two or more separate networks. Screen Sharing actually uses a protocol called VNC which stands for Virtual Network Computing.

  • How can I login remotely (not screen sharing)

    Hi
    Is there a way I can login to my desktop (running 10.8.2) and work remotely - without screen sharing?
    I am talking about full desktop access, logged in remotely, without disturbing the session of another user who is logged in, and physically in front of the computer.
    I have spent a long time googling and cannot figure out if such a solution exists, either within the base OS, Apple Remote Desktop, or commercial solutions.
    In an ideal world such a solution would also be cross-platform so that the remote client could be either Mac or Windows.
    Thanks for any guidance.

    I answered my own question.
    By setting up another account it is possible to remote login with a VNC client. When connecting to the mac the login screen is presented. Provided that you login to an account that is not the front account running on the mac, that session is not disturbed.
    Thus it is possible to run with full access to apps and data, on another account and session separate from the session that is already logged on.
    However, if during that VNC session you switch users and login to the front account, you now will be the only session and will be controlling that screen. After that point you have to disconnect the VNC client, and re-log back in in order to leave the front account undistrubed.

  • How can I remotely enable Screen Sharing remotely on 10.8?

    Is there a way to remotely enable Screen Sharing from another mac? I'm using 10.8.

    I assume you mean by remote login.
    To enable via SSH to an admin account:
    sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.screensharing.plist
    To disable:
    sudo launchctl remove com.apple.screensharing

  • How to detect real desktop and remotely accessed(screen shared) desktop?

    Hi All,
    On Mac Os the Screen Sharing feature is similar to Remote Desktop Service. Is there a way to determine whether the terminal where we are starting the application(our own application) is real desktop or remotely accessed (screen shared) desktop?
    For Ex:
    I have booted(logged in) the Mac A sytem with user1 account. From another Mac B machine, i will login to user2 account of Mac A sytem using Screen sharing  feature. My application has to run only on real desktop, not on remotely accessed desktop(screen shared). So Is there a way(programmatically) to determine whether the terminal where I am starting the application is real desktop or remotely accessed (screen shared) desktop?
    Please guide me.
    Thanks & Regards,
    Vinay

    Have a look at the 'Son Of Grab' sample code, it shows you how to grab elements of the screen individually.

  • Connecting to office computer remotely using screen sharing app

    How do I connect to my office computer using the screen sharing app in the system?
    Are there complete instructions somewhere that I can read?
    I have a computer at home and at the office, both with sbcglobal router connections to the internet. I have read that /System/CoreServices/Screen Sharing.app will allow you to connect to computers over the internet, but the article I read did not have much detail.
    So say my work router hardware internet address is 123.12.23.123
    When the window open after I click Screen Sharing, do I put that address in there?
    Is there a port I need to open at the office?
    Is there some internet address for my computer besides the sbc 172.12.1.23 address that I should use instead?
    Screen sharing has a computer setting under sharing "VNC viewer may control screen with password: abcdefg"
    Where do I find more information about Virtual computer networking and how I can do it with my may and the software apple provides.
    I appreciate your help.
    Message was edited by: James Mol

    The only way I have been able to do this is to use logmein.com to access my office computer, then using iChat, accept the invitation to share my office screen. One connected, I can log off logmein.
    Has anyone found an easier way?
    Thanks

  • Remote Desktop & Screen Sharing not  working??

    Hello all,
    I am trying to connect to a friends computer via the Finder's Screen Sharing, I enabled the screen sharing preferences under the System Preferences, put the password, etc and had him do the same and I am not able to connect to his system. I'm sure there is something else I have to do in order to get this to work. In the Windows world I had to use the VNC. But, I remeber reading in a Snow Leopard book that this is all that had to be done in order for this to work.
    Best Regards,
    freesparks

    I know I could never get this working between two macs of the same OS (10.5.8) over the internet with the appropriate Sharing settings set up....
    Im guessing both Screen Sharing and Remote Access through iChat DO NOT work anywhere but in a LAN?

  • PLEASE HELP, SOMEONE REMOTELY VIEWING/SCREEN SHARING MY MACBOOK?

    Hi - I urgently need help from anyone who knows about this issue - I am a very basic macbook user, and don't really know about all the different programmes etc. I believe someone ( the guy who sold me the macbook, who told me he was a mac repair person and programmer) has been hacking into the computer, using the remote access - there is a programmed called SCREEN SHARING but I cannot access it - and a bunch of other files such as odsagent etc - not sure if these indicate he is using the screen sharing/ remote access to my mac.
    The reason that I believe he is accessing the mac, is that he downloaded all the files, so would clearly have access to passwords etc, there were loads of his old files, that showed pictures of people saying " target", and old files showing he was studying comuter/ mac programming. The first time I went online all of a sudden the computer froze, and two green lights showed on the num lock key and the shift key I think, the two keys were frozen, and the keyboard basically wouldnt respond, but the activity continued on the screen. This has happened a number of times since then, usually just randomly the keyboard freezes, and if you wait a while it goes back to normal - the mouse works fine, then one day it keep sort of freezing/ getting stuck/ pausing for no reason - the next day its fine again. He put in a load of software, which he has obviously been able to get round the need of liscening numbers, as he did not provide me with them. one day I saw a name "macbook pro" suddenly appear, and that it was tryin to connect/ share or something - this has never happened to me before with my old mac- it was like another computer was connecting/ sharing with my computer without my permission - this was when I was online. This has not happened since.
    I am scared he is accessing the computer, because these things that happened, and because there is loads and loads of files and programmes, which sound suspicious, i dont know what they do, and I just have this dogey feeling about this guy, and the fact that there is screen viewing/ remote management files etc which I cant access, but I am not sure if they are being accessed.
    PLEASE HELP - I FEEL LIKE MY PRIVACY IS BEING INVADED - I was speaking to my family on Skype and the green lights came on/ it froze, I continued with the conversation, but later I felt like he might have been watching.
    If anyone can recommend an expert in the London area, that can check the mac to see there is nothing on there that is being used to remotely control/ screen share my mac, I would be very grateful - its just horrible using your computer, and always being worried someone is invading your privacy, and and downloading your files etc.
    Sorry if I sould paranoid, but I have a strong feeling something is not right here.
    Many thanks for your help in advance.

    Since you don't know much about computers, disconnect your internet (wireless or wired) to prevent future unwanted access. While it is smart to contact Apple Communities, this is a criminal matter and you should consider taking the matter to the police. People like this will not stop with you. You need to list the private data that may be stolen and take action (cancel credit cards, change passwords, bank accounts, phone numbers, whatever you have cause to be worried about). If you can afford it, buy a new hard drive, remove the old one, and install OS X from scratch. Give your old hard drive to the cops. Make sure you turn the Firewall on (click the Apple up on the toolbar top left > System Preferences > Security) and uncheck any "Sharing" options (System Prefernces > Sharing). This event you are experiencing is unfortunate, and rare, but with a pro-active attitude you will come through it fine - and wiser.
    EDIT
    dgambler is right in that by purchasing a Snow Leopard disk (presuming you don't already have one) and performing a fresh install (it is easy) is a sure way to "take back" the controls of your Mac. You will need to study online tutorials for "wiping the drive" rather than a simple install. But you should let the police look at the hard drive before you do that - they will be able to see exactly what this person did.
    usefull information:
    http://docs.info.apple.com/article.html?path=mac/10.4/en/mh294.html
    http://lowendmac.com/ed/rosen/mac-remote-control.html

  • Back to My Mac / Remote Management / Screen Sharing

    I'm managing computers for my family spread across 3 states. I would love to get screen sharing working but it's just not happening. I've tried the steps in the following KB article and that's allowed me to access two mini servers (one 10.7 and one 10.6.8) at home. However, I can't access a MBP at home and I can't access my family's computers (via screen sharing) at all. Here's the KB article...
    http://support.apple.com/kb/HT3486
    Here's all I'm seeing (5 computers are "missing")
    I've tried NAT port forwarding (Airport Extreme/Time Capsule) for "Apple Remote Desktop" to the computers internal IPs on ports 5900 & 3283. I've tried it without. I've tried both "Screen Sharing" and "Remote Management" in preferences. I've made sure I have my own account with admin privledges on all machines etc. This is, of course, all peppered with the occasionaly outburst of foul language...
    What am I missing?

    Spoke with Apple who spoke with Apple and so on. Tech support for Apple Desktop Remote acknowledges (as best they could) that there is a bug/ problem. Yes, reverting to an older (3.5 - 3.4 ARDagent) solves the problem (short term ?). They captured my OS info and will get back to me in 3-5 days - how do you like them apples! So, revert to ARDagent 3.4 and you can remote connect - may try this later... will post if it works. Here's what's been posted on this: https://discussions.apple.com/thread/3192451?start=0&tstart=0

  • Screen Sharing Problems/Questions

    Greetings!
    I really like the screen sharing feature of Leopard, however, it has a serious problem, but probably only for me, as I can't find anywhere on the internet where my problem is mentioned.
    Whenever I attempt to drag ANYTHING on the other person's computer, the mouse pointer freaks out and jumps to a random place on the screen, or even offscreen entirely. After it has completed its jump, it drops the drag leaving the window I was dragging in the wrong place, or moving a list of files to the wrong place.
    This renders screen sharing basically unusable for me.
    I've confirmed this bug, both ways, with two seperate systems. I can't drag on their machine and they can't drag on mine. All three of us turned off spaces and removed any external monitors to make sure that wasn't the problem. None of us are on an internal network... this was all done with iChat over Google talk on an internet connection.
    Can anyone confirm this bug?
    Has anyone found a fix for this bug?
    Thanks!
    -Sastira

    Umm.
    I am not sure you are doing it right.
    Go to the File Menu.
    iChat Theatre item.
    Navigate to File (Can be Movie or Pic or PowerPoint etc)
    Click the share button.
    The iPhoto Share works solely with iPhoto but the principles are the same.
    There should not be any Dragging involved.
    TO Send an Item as a file or include a pic in a text chat is different.
    In that case it is a quetion of dragging the item the the Text entry field during a Text chat or dropping it on a Buddy in the Buddy list.
    Sometimes with a New buddy (freshly added) the second option of Dropping it on their name can be more successful.
    10:36 PM Thursday; November 22, 2007

  • Remote Access - Screen Sharing - possible to have a different session?

    I was wondering of there was some way, maybe using X11, of doing screen sharing to my iMac but with a different session.
    Can I log-in across the network and get a separate logged-in session from the one on the main screen?
    If so, how do I do it? Is there a 'How to' somewhere?
    I'd imagine something like setting up a Display parameter for X11 that can run remotely on my machine, so I can log on as a different person and run a different session without affecting what's on the main screen. Effectively to be multi-user access.

    On a Unix or Linux system (and OS/X is a Unix system) you can have multiple remote sessions running under X11.
    Mac OS X does NOT use X11 as its graphic engine. X11 is a side car on Mac OS X, provided so users that need to access Linux/Unix system which do use X11 have a way of displaying X-Windows output.
    Mac OS X itself does not use X11 in any way. So even if you could do what you want, it would not get any of the native Mac OS X applications displayed on your system.
    As someone else has pointed out, there is a trick with Fast User Switching and the Vine Server that can allow multiple users to access the system. It is a bit of a hack, and less than perfect, but if it works for you, that might be an option.

  • Screen sharing security question

    I recently set up my imac to allow screen sharing from my MBP. On my iMac I randomly see the screen sharing icon appear in the menu bar despite not being connected. Is this normal?
    Also i setup security so that it should only be me that is able to connect via password to my iMac, yet there is aslo an option to connect as a guest which connects & shows the imac screen & allows me to do things.
    I thought the whole point of setting access only to me was that no-one else ( eg guest) could connect.
    i am a bit baffled here, can anyone help me out?
    TIA,
    john

    I would not consider the presence of the screen sharing icon normal. I encourage you to open terminal and run the command
    netstat | grep vnc
    the next time you see it. This will return either nothing (bringing you back to the prompt ending in $, or return a line such as this:
    tcp4 0 39 10.0.42.116.vnc-server 10.0.42.243.54233 ESTABLISHED
    In this case, my Macintosh is 10.0.42.116, and the computer connected to it is 10.0.42.243.
    By this method you can determine if there is a glitch causing the icon to appear or if there is actually a connection being made to your Macintosh.
    What you are probably experiencing with the guest account is a bit of confusion related to how Finder thinks of computers.
    The Guest/User Account is not for Screen Sharing, but for File Sharing.
    When you clicked "Share Screen..." the first time, regardless of if you connected to file sharing as Guest or Registered User, you got a box requesting "the username and password to share the screen of (computer name)." There, you probably selected remember password in keychain, and that is why you are not being prompted again, and why you are connecting to screen sharing as a guest. (You're actually connecting to screen sharing as your registered user, but you are connected to file sharing as a guest).
    To change this behavior, (on the client Mac) navigate to Applications, Utilities, Keychain Access. There, you will find an entry with a blue @ sign as an icon, and your destination PC's name. The Kind will be Network Address and when you select the line the "Where" in the info viewer panel will begin with vnc://. When you find this line, press the delete key to remove the saved password, and don't tick the "remember" checkbox again.

  • ARD Newbie - Remote administration/screen sharing

    Here is the setup:
    Admin: OS 10.5.8, ARD 3.3, Connected via Airport Express (802.11g)
    Client: OS 10.5.8, Remote Management/Login enabled in System Preferences, Connected via Airport Express (802.11n), NAT enabled/ports mapped for ARD.
    I still cannot connect to client's Mac via ARD. I choose File> Add By Address in ARD and provide the client's IP as well as User/Pass. ARD fails to verify.
    Can someone point me in the right direction? Thanks!

    Nevermind; wasn't forwarding to the right address. Works now.

  • Screen sharing stuck on 'Connect...' - but only on one client account. Please help!

    I've got a bizarre problem that cropped up sponaneously, and which I can't for the life of me seem to reslove.
    I have 2 home machines:
    MacBook running 10.6.8  (Server / Media machine)
    MacBook Pro running 10.7.4 (Client machine).  Apple Remote Desktop software is installed on this machine, and connections through it work fine.
    A few days ago, the sidebar "Share Screen..." link on the client machine stopped working.  All I get is the 'Connecting...' dialog box, endlessly.  The bugger of it is that this is only happening with my main account on the client machine. Switching into another (unused) admin account on the client results in the 'Share Screen...' button working as expected.
    I've tried the following cures, found on these forums, to no avail:
    Reset PRAM and NVRAM on both systems
    updated all software
    repaired permissions on both systems
    changed bonjour names of both machines
    rebooter & power-cycled router
    killed the NetAuthAgent process a billion times
    trashed all of the preferences, caches, etc. for screen sharing and remote desktop in the afflicted user account on client machine
    etc. etc.
    As far as screen sharing connection options go, these are my results:
    using connect to server (via finder > go > connect to server), and plugging in the address (vnc://192.168.0.103): works
    launching /System/Library/CoreServices/Screen Sharing.app, and plugging in the above address: works
    connecting via the Apple Remote Desktop software: works
    using the "Share Screen..." link from the Lion Sidebar: DOES NOT WORK and results in the stall mentioned above, constrained to my primary user account on the client machine.
    As mentioned, this was working properly until a few days ago, and stopped spontaneously, with no changes to either system.
    Any help finding a resolution to this would be greatly appreciated; this is driving me utterly bananas .
    -Tim
    Message was edited by: Timoluka

    My wife ran into the very same problem today, while trying to connect Screen Sharing to her media center Mac Mini (server) from a Mac Book Pro (client). I was also unable to connect from my machine as well when logged into my usual account but noticed I had no problem with a Guest User account (as you've described), but had also tried most of the unsuccessful attempts at solutions that you've enumerated.
    Then, I read this very similar thread: https://discussions.apple.com/thread/4131788?start=0&tstart=0
    ...and logged out of our now defunct MobileMe accounts on the affected machines. Upon hitting the "Share Screen..." button again, I was now prompted for a local login and password to the Mini, and once that was input, Screen Sharing connected and started up without any problems! Yes!
    Given the similarity of our problems, I hope this works for you as well. My best guess is that Screen Sharing might be prioritizing the use of MobileMe authentication over local logins and passwords, and some of Apple's recent work in decommissioning MobileMe had unexpected results for folks like us.
    Jim

  • Connection with AppleVncServer and Screen Sharing broken

    Hi! i had delete screen sharing (v.1.1.1) from coreservices and i had get other screen sharing (v.1.1.1) from another mac, and put into coreservices... but now when i configure screen sharing from preferences and put a VNC password to connect with others vnc programs or remote with screen sharing, applevncserver dont start again.... how i can connect again applevncserver with screensharing?.... i can restore original screensharing from installation dvd, with Snow leopard 10.6.5 this issue will be fixed automatically?
    Thanks
    Message was edited by: edenexposito
    Message was edited by: edenexposito

    I got all mine working without using root or going to the machines.
    ssh into them and remove com.apple.RemoteManagement.plist with
    rm /Library/Preferences/com.apple.RemoteManagement.plist

Maybe you are looking for

  • Problem with resolution of external display

    Hi, I am trying to use external display with my Unibody Aluminium Macbook Pro (NVIDIA GeForce 9400M, 2.26Gh, snow leopard). Cable setting I use is quite complicated as it is: macbook: minidisplay port>hdmi> DVI D : display. Display is LG Flatron W224

  • Time Machine Not Auto Backing Up

    Hey guys, I'm having some issues with my Time Machine. Its no longer auto backing up. It will backup fine if I manually start it but it won't do it on its own anymore, it hasn't for the past 2 days on 2 of my computers. I've tried repairing permissio

  • Where can I find a replacement drive?

    I there a european retailer that sells replacement superdrives for macbook pros? Thanks in advance for your answers.

  • How can I have a clickable image as my signature?

    I have tried diff. codes and nothing, can anyone help? TIA This is the image I want clickable iMac   Mac OS X (10.2.x)  

  • When syncing from Outlook on PC to iCloud there is one hours difference!

    Hi I sync between my PC (win 7 64 bit home edition adn office 2010), icloud and my iPhone. ALL devices are set up properly...i.e. my pc, iPhone AND the iCloud settings are all in the same time zone (Jerusalem GMT +2) and they all use daylight savings