How to setup real SFTP in Yosemite?

There's lots and lots of information online about how to setup remote access to my mac using SSH and SFTP in Yosemite...but apparently none of it is actually useful for genuinely  remote access...access from outside my network, access from miles away.  Because here is what I have learned:
The ip address listed in the Sharing pane when you access remote login is internal.  it's some version of 192.168.x.x, which is essentially everybody's computer and utterly useless from outside the network.
So my actual public ip as assigned by my service provider is really my IP if you are trying to get to my computer from outside.
But that IP doesn't "just work" via SSH or, much more importantly for me, SFTP.  Evidently that involves something called "port forwarding" which one used to be able to do via Airport Utility, but is no longer possible because such options do not exist in the current version of the utility.
(What I want to achieve is for a friend of mine, a friend on a mac about 4 miles away,  to be able to directly access very large files on my computer. I don't want to use clouds or public sites or anything like that, I just want to be my own private little FTP server just for her. That used to be no big deal.)
So... is there a solution for this?

Dropbox may be a better option if you can both have accounts with enough storage, it is a simple setup process that can be forgotten about.
Bittorrent sync is another option that mirrors data between several endpoints. You should get better performance if the files are not being transferred over the network (Dropbox & Bittorrent sync create copies at each end).
ssh & port forwarding allows you to use sftp, if you do some more setup you can also use sshfuse to mount the remote content as a network disk, it's a plugin for http://osxfuse.github.io
Just be aware that many scripts & botnets are constantly attempting to login on visible ssh ports on routers across the internet. Enabling ssh to outside access means that any user on you Mac can be a potential login - have good passwords set on ALL user accounts, and do not enable the root account password. There are also options to disable passwords in ssh (& use ssh keys only) if you want better security.
ssh is good, but it is not trivial to setup and it won't open ports for you. Apps like bittorrent sync can use UPnP to request port forwarding rules, to make setup easier.
Back to My Mac is OK, provided you are willing to hand over the keys to your Apple ID.
P.S. You keep mentioning ftp, please avoid ftp. ftp can use plain text passwords that can be sniffed over the network, avoid opening the network to inbound ftp traffic too.

Similar Messages

  • OpenSSH: How to setup non-interactive SSH/SFTP/SCP

    Hi,
    Anyone has any idea how to setup/configure OpenSSH on Solaris (Client) & Windows (Server) for sftp/scp transfer in non-interactive host-based authentication.
    I need to setup this for secure file transfer from a solaris client to a windows server without having to enter a password. My external script will run in crontab to tap on sftp/scp for file transfer.
    Pls advise. thanks.

    I'd go for key-based authentication and simply don't provide a password for the key. You're on your own about how to implement this on Windows, so far I wasn't even aware Windows had a SSH service.

  • How to setup the windows installed pxi to RT target

    how to setup the windows installed pxi to RT target?

    Ranjith,
    I think the answer for your 1st que is NO. In the sense, you can run the code, but it may not work precisely as it is supposed to...
    A target can be said to be an RT, if & only if it has an RTOS installed in it, not just Windows, which is not a real-time OS.
    Youcan run the existing code in Windows, but as I said earlier, it may not give you the actual results.
    Finally, hereafter, pl dont use the term 'box' for a PXI. It is a chassis with a main module that runs on Windows or an embedded RT processor/conrtoller that runs on an RTOS like VxWorks or Phsr Lap.
    Hope this helps you to some extent...
    - Partha
    LabVIEW - Wires that catch bugs!

  • How to setup usb card in pci express slot

    how to setup a usb card in a pci express slot,

    Is that what the real original question was?
    Do you already have and tried it? going by what you read?
    Do you want a recommendation on a card?
    I think I provided two in a thread at same time you posted: Sonnet I trust
    I have FW800 PCIe in 1,1
    I always connect kb/mouse either direct or via Apple Cinema

  • How to Setup an ACL over a Command in solaris 2.6

    Hi all,
    Has anyone have an idea on how to setup an ACL over a command
    in solaris 2.6 . i.e: to force a user (or a group) to enter a
    password to run a command (like mount and others).
    Thanks for your help.
    haed98.
    [email protected]

    Hi head98,
    You can set ACL using setfacl commands. This way you can exclusively assign read/write/execute permissions on command that you wish. But ACL doesn't prompt for passwords or you can set passwords using ACL. One way of doing this will be to create wrapper for commands which will prompt for passwd, compare them with /etc/shadow and then execute the real command.
    Hope this helps, Thanks. SUN/DTS

  • How to setup QoS for IP/Mac Address WRVS4400N

    I need some help setting up QoS for two Cisco/Linksys devivces on my network. 
    Network devices are Comcast SB6120 modem into WRVS4400n (v2.0.2.1 firmware) that divides into one 24 port gigabit Netgear unmanaged switch, 1 port into AT&T Cisco Microcell, 1 port to HP Officejet 7700 wired printer.  Unmanaged switch has approx 10 devices attached (including another 8 port unmanaged gigabit switch).  3 static leases are defined for the network for three devices (HP OJ 7700 printer, Cisco/Linksys PAP2 VOIP adapter, windows home server v1.  DHCP is handled by WRVS4400n.  Comcast service provides 12mbps of service upstream, 4mbps downstream.
    Need to setup QoS for AT&T Microcell and PAP2 VOIP adapter.  The real issue that I can't figure out how to configure is IP based priority access.  I can do rate control for an IP address but can't figure out how to specify priority control for an IP.
    Here are my the current config questions:
    1.  Bandwidth management page:  For the microcell device plugged into port 1, do i set the default CoS to 4 or 1?
    2.  Bandwidth management page:  Should the bandwidth management type be set to priority?  I assume yes since I need to define the UDP/TCP ports for priority.  The major issues here are
    a) one of the ports the Microcell uses is secure https (TCP 443) which is could also be used by any other internet device. 
    b) can't specify priority for the PAP2, since it's behind the unmanaged 24 port switch
    3.  QoS setup page:  Do I need just 2 queues (one for the port ID for the Microcell and one for the IP address of the Linksys adapter)?
    4.  QoS setup page:  I assume I need to define DSCP for the unmanaged switch but not sure how to tie a queue to an IP address
    4.  QoS setup page:  Shoud priority 0 be set for the most important queue (microcell) and the priority 1 CoS be for the VOIP adapter?  Again, not sure about how to define priority by IP address.
    5.  DSCP setup page:  As far as I can find, there's no documentation on how to setup this page.   

    That's what I do. I keep it simple, one calendar, one set of contacts.
    iCloud is really the simplest way to go, as it will sync your (eventual) single Contacts and Calendar across all your devices.
    I would:
    Figure out which single calendar (in Calendar.app) and contacts (in Contacts.app) that you want to keep.
    I'd make a backup of each one. For example,
    in Contacts, File > Export... > Contacts Archive...
    in Calendar, File > Export... > Calendar Archive...
    Make a backup of the other calendar events and contacts that you want to save.
    delete all the contacts and calendars from your phones and your iPad.
    add the contacts and events from the backups to the single calendar in Calendar.app and your contacts in Contacts.app on your iMac. There is probably some way to export the contacts and events you are adding, and then combine them, but you could also just add them manually.
    Then when you configure all your devices for iCloud, they will be all synced automatically.
    Message was edited by: arthur

  • How to setup dreamweaver for synchronizing  website?

    Hi, I'm trying to setup dreamweaver 8 in a way that mimics my
    online website. The problem I am having is that on my real sites'
    server I have placed most of the files outsite the public root
    (security reasons), and I'm not sure how to setup dreamweaver so I
    can synchronize with this. I am running a WAMP configuration for my
    test / development machine.
    Online website structure:
    some_folder
    -source code
    - includes files etc..
    public_html (document root)
    - html files
    -images
    -css
    An example of how my apache virtual host is setup
    Document Root: C:\mysite\public_html //This works fine...
    If I setup a site in dreamweaver that uses C:\mysite as the
    root, the setup resembles the online one. But there is a problem
    with this because it uses C:\mysite as the "document root" whereas
    the folder C:\mysite\public_html should be the document root. Now
    if I change my document root to C:\mysite\public_html then I don't
    have access to any of the files above this directory... I'm kind of
    screwed with each option I take...

    Here are the email server settings that work for me on iMac or iPad using Mac Mail program.
    Verizon changed to different email server.
    Make sure password for account is correct by resetting password:
    Reset password by clicking "I cannot access my account link" on page or login below
    https://login.yahoo.com/config/login?.intl=us&.partner=vz-acs&&.lang=en-US&.intl =US&.done=http://hom...
    Enter username here to reset password :https://signin.verizon.com/sso/forgotflows
    Passwords must match for verizon yahoo & verizon account.
    email server settings:
    Example
    Name: john smith
    email address:[email protected]
    user name: john smith (Do not use full email address here)
    Incoming Mail Server: incoming.yahoo.verizon.net
    SSL: on (Port 995)
    Authentication: Password
    Outgoing Mail Server: outgoing.yahoo.verizon.net
    SSL: on (Port 465)
    Authentication: Password
    user name:johnsmith
    Password: current password for account
    Save all settings and check for new email. Good luck.

  • How to setup three SharePoint sites on one server?

    Hello,
    How to setup three SharePoint sites on one server?  I have three sites like:
    http://site1
    http://site2
    http://site3
    And need to have them running up on one server. I recall some changes need to be done to the host file, but not sure.  Can you advise on what to change?
    Thanks,
    Paul
    Paul

    you need to make entries in DNS to get this done.
    check here:http://spshare.blogspot.com/2012/05/how-to-create-host-header-web.html
    nice blog with step by step explanation:
    http://thuansoldier.net/?p=1323
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to setup multiple base station under one network?

    How to setup multiple base station under one network? I have 6 rooms but one airport base station makes really difficult to get good signal from every rooms. I wonder if I can setup multiple airport base stations talking to each other under the same network to build up the signal strength will help solve this problem. But, is it possible? How?

    One route would be to utilize a "roaming" network. In a roaming network, you would connect multiple AirPort Extreme Base Stations (AEBS) to the same Ethernet. Of course, this would require that your home is already wired for Ethernet.

  • How to get real value from selectOneChoice with javascript?

    Hi,
    How to get real value from selectOneChoice with javascript? The event.getNewValue() only gets me the index of the selected item, not the value/title.
    JSF page:
    <af:resource type="javascript">
    function parseAddress(event)
    alert("new value: " + event.getNewValue());
    </af:resource>
    <af:selectOneChoice label="Location:" value="" id="soc4">
    <af:clientListener type="valueChange" method="parseAddress" />
    <f:selectItems value="#{Person.locations}" id="si7"/>
    </af:selectOneChoice>
    HTML :
    <option title="225 Broadway, New York, NY-10007" selected="" value="0">225 Broadway (Central Office)</option>
    <option title="90 Mark St., New York, NY-10007" value="1">90 Mark St. (Central Office)</option>
    Thanks a lot.

    Something I was missing ,
    You need to add valuePassThru="true" in your <af:selectOneChoice component. I have personally tested it and got the actual value in alert box. I hope this time you got the real solution. You can also test the following code by your end.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelBox text="PanelBox1" id="pb1">
    <af:selectOneChoice label="Set Log Level" id="soc1"
    value="#{SelectManagedBean.loggerDefault}"
    valuePassThru="true">
    <af:selectItem label="select one" value="First" id="s6"/>
    <af:selectItem label="select two" value="Second" id="s56"/>
    <af:clientListener method="setLogLevel" type="valueChange"/>
    </af:selectOneChoice>
    <af:resource type="javascript">
    function setLogLevel(evt) {
    var selectOneChoice = evt.getSource();
    var logLevel = selectOneChoice.getSubmittedValue();
    // var logLevelObject = AdfLogger.NONE;
    alert("new value is : " + logLevel);
    //alert(evt.getSelection);
    //alert(logLevelObject);
    evt.cancel();
    </af:resource>
    </af:panelBox>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • How to Setup SSL on Oracle Application Server 10g Release 2 (10.1..2)

    Hi All,
    Can anybody tell me How to setup the SSL on Oracle Application Server 10g Release 2 (10.1.2).
    I have all the required documents like
    1. Oracle Application Server Portal Server Configuration Guide.
    2. Oracle Application Server Web Cache Configuration Guide.
    3. Oracle Application Server SSO Administration Guide.
    I tried to follow all this documents but still i am not able to set SSL for Oracle Portal Server.

    The Portal Configuration Guide, available on OTN at http://www.oracle.com/technology/documentation/appserver1012.html does provide some very specific information on how to set up OracleAS Portal.
    Section 6.3.2.1 Configuring SSL for OracleAS Portal describes various configurations, such as:
    SSL to OracleAS Single Sign-On
    SSL to OracleAS Web Cache
    SSL Throughout OracleAS Portal
    External SSL with Non-SSL Within Oracle Application Server
    For larger enterprise configurations, you can refer to the Enterprise Deployment Guide.
    Can you give a bit more background on what you are trying to set up? Which scenario, what sort of hardware, software versions, and so on.
    Regards,
    Pete

  • How to setup a static IP for a wireless printer

    This problem has been ongoing for several versions of OS X and the last five printers I've had and I'm finally over messing with it.  For some reson, when using a wireless printer with OS X this is a repetetive problem, and I think if I configured the printer to a static IP address instead of using DHCP, it might work better.  At least once a week, if not more often, I'll print something and get the ubiquitous Dock error of "Printer is not connected".  The printer is still in Preferences, but if I delete it, then it doesn't show up as it should for selection.
    The only way to fix this is reboot, and then the printer shows up again in Preferences.  I select it and all is well again...until a few days pass and the same thing happens again.  Using an HP LaserJet P1102w, still a current model, but it doesn't matter which printer I use.  I also have an Epson Artisan 725 and the same thing happens with it about once a week.  Also, this happens from both my Mac and my wife's Mac, so it's not an issue with just my machine.
    I've searched for documentation on how to setup a static IP address for a wireless printer with the Airport Extreme, but all I find are tutorials on how to do it with an ethernet hard-wired printer.  Any help would be greatly appreciated.

    You could set up your router to do manual assignment of IP address instead of using DHCP, but that is a PITA, because then you'd have to manually set up IP for all your devices.
    If you have AirPOrt Extreme, you could do this:
    In your Apple TV, go to the Settings >> About and write down the MAC address of your ATV
    Start up the AiPort Admin Utility
    Go to Network tab
    click + in the DHCP reservations
    Choose an IP you want for your ATV & Enter the MAC address
    From now on, this IP address will be reserved to the MAC address and only your ATV will be able to get it, no other device will.
    It is not a static IP in a true sense, but behaves just like one.
    Works great for me...
    If you don't have a AP Extreme, I'm sure other routers will allow you do reservations too.

  • How to setup Charms in a 2 tier landscape ?

    Hi All,
    We have a two tier landscape i.e only having development and production system so how to setup STMS and all other settings in this type of scenario.
    Can we use Virtual system in STMS as a Quality system ? If yes then please guide us and tell me how to proceed as if we dont know how to add virtual system in SMSY in solman. Please provide us with a clear picture and give us detail documentation if possible.

    Hi All,
    Please tell me as per the SAP standard recommendation is it necessary to have a cycle like DEV->QUAL-PROD for Charms as we are not having any Quality system or Client here in our landscape.
    Please suggest a way how to proceed in this case. Please help me out.

  • How to setup breakpoints in a vector space?

    Hi,
    How to setup breakpoints in a 2D vector space in NI 7344 and check for them using flex_read_breakpoint_status_rtn?
    Thanks.

    Hi,
    Is Office Communicator something to do with the Word, Exel and Powerpoint Office Package ?
    What sort of Screen Names or IDs do you use with that ?
    If these are MSN/Live accounts names then it can be made to work for Text Chats but not Video or Audio Only chats
    10:38 PM      Friday; April 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to setup iChat in a office

    How to setup iChat in a office that using Office Communicator as a IM ?

    Hi,
    Is Office Communicator something to do with the Word, Exel and Powerpoint Office Package ?
    What sort of Screen Names or IDs do you use with that ?
    If these are MSN/Live accounts names then it can be made to work for Text Chats but not Video or Audio Only chats
    10:38 PM      Friday; April 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for