If you have ever accessed your files and folders, or change settings of your system remotely, you would know how convenient it is. Apple’s OS X recently incorporated the SSH remote log-in feature in the system, to enable secure administration and transfer of files through a command line. The advantage if this service is that it can be used for text based interfaces, and also for running commands. If you have taken advanced Unix training courses will have a better understanding of how Apple’s new remote log-in SSH service can be useful.
Unix experts will find it easier to set up the remote log-in session using the SSHFS (SSH filesharing) protocol. The first step to setting up the log-in session for remote access is to activate the SSH service, by checking the “remote login” option under “Sharing” system preferences. After that, you also have to indicate the users who would be allowed remote access via SSH. You can leave the default option of access to all local users, or restrict some if you wish to. Then, you have to log-in through the SSH client, using a log-in name that is similar to the one used in Unix terminals.
SSH in itself will only let you access and manage the files on your system remotely. But it does not let you copy them or add new ones to the database. For that, you have to take the support of the SSHFS and the Secure FTP protocols. To use these commands, you have to set them up and enable them first. For the SSHFS, you have to install the SSHFS module too. Then, you can establish the remote connection using the SSH client and use a command specifying the user name, along with the access path to the file or folder you wish to add.
Once set-up, the remote access through SSH can be very helpful not only for the Unix-gurus, but also for those who are just starting to run the basic scripts and commands in it.
Related Link:
https://reviews.cnet.com/8301-13727_7-57463200-263/options-for-file-sharing-via-ssh-in-os-x/
Please Share This Knowledge With Others!