Hot answers tagged

4

You got it the wrong way round :-) create a key pair on the Mac you are using put both id_rsa.pub and id_rsa into ~/.ssh and run chmod 600 id_rsa append the generated public key (id_rsa.pub) to .ssh/authorized_keys on the remote machine (your server in this case). If you are allowed to login in via ssh using a password, use ssh remoteuser@remotemachine ...


3

Set up your new User as a Sharing Only account, this gives them no actual account on the computer itself that they can log into… System Prefs > Users & Groups Click the lock Click the + sign to add a new User Set the new account to sharing only from the drop menu [stepped out on the pic for clarity] Ref : Apple KB - OS X Yosemite: Create a ...


3

You can create a low-numbered user via dscl, as per this Apple support page and it will be hidden from most views. Also, I believe that if you set the user home directory to something like /var/empty then ssh will log in but the gui will not.


2

You need to make sure that the <the directory path> fulfils the next requirement specified in the manual pages for sshd_config(8): All components of the pathname must be root-owned directories that are not writable by any other user or group. If you don't, then it doesn't work. But you are certainly notified about the problem in system log. ...


1

Create a file /bin/rbash, make it executable and and set it as a shell for this newly created user: #!/bin/bash exec /bin/bash -r "$@" The user over ssh is limited as manual page for bash describes in "RESTRICTED SHELL" section.


1

/etc/ssh/ssh_config is the configuration file for the client which is used if you don't have a more specific one in your home directory. What you want to edit is /etc/ssh/sshd_config which is the one for the server. You will probably want to set PermitRootLogin without-password (or no) and PasswordAuthentication no there. Update: Since you are running ...


1

Looking at the List of job scheduler software at WikipediA which support event driven job scheduling and lists OS X as a Platform was only one package, JobServer by Grand Logic. Being that this info is from WikipediA, this of course by no means is necessarily a complete and or authoritative list, however it's a place to start.


1

The documentation lacks one important step: reboot or sudo reboot After the reboot the user enjoys visible admin rights in System Preferences -> Users and Groups. But: even without rebooting the user is admin already - it's just not visible in the PrefPane. If you login as joeadmin immediately after creating the account (e.g. fast user switching) ...



Only top voted, non community-wiki answers of a minimum length are eligible