Tag Info

New answers tagged

0

I solved this using brew to install openssh. Then change /System/Library/LaunchDaemons/ssh.plist file to use sshd provided by brew. A better explanation is here: http://stackoverflow.com/questions/10658950/upgrade-openssh-on-os-x-with-homebrew-for-pci-compliance


0

Problem solved after disabling the screensaver and changing the energy saving options on the Mac Mini server.


2

If you are absolutely certain that your Mac has been hacked I'd strongly recommend that you erase your hard drive, reinstall OS X and manually copy you data back from Time Machine: Back up your Mac. Restart and hold Command+R to enter OS X Recovery (http://support.apple.com/en-us/HT4718). Select 'Disk Utility' and reformat your hard drive ...


0

I assume the shell of your Mac is bash. You need to complete ssh command, for more detail you can read man complete _complete_ssh_hosts () { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ cut -f 1 -d ' ' | \ sed -e s/,.*//g | \ ...


0

It's fairly simple to install Google Authenticator PAM plugin on Mac OS X if you have X code command line compiler installed. The code and instructions are here: https://code.google.com/p/google-authenticator/wiki/PamModuleInstructions Once you initialize your token (generate a code you feed to the app on your phone), you'll have two factor authentication ...


1

The options go at the end of the command, so in your case: sshfs user@host:/somewhere/on/the/Y /Z -o volname=Z I just had a similar problem and this fixes it for me!


0

In case it helps, I was having trouble with this on 10.10 (Yosemite) and it turned out I was editing the wrong file. /etc/sshd_config is the right one, not /etc/ssh/sshd_config, which is what I was trying based on what man sshd_config says: SSHD_CONFIG(5) BSD File Formats Manual SSHD_CONFIG(5) NAME sshd_config -- OpenSSH SSH ...


5

Welcome to the wonderful world of OS X Keychain and ssh-agent! From the man page: ssh-agent is a program to hold private keys used for public key authentication (RSA, DSA, ECDSA). The idea is that ssh-agent is started in the beginning of an X-session or a login session, and all other windows or programs are started as clients to the ...


2

A much better alternative than to run Prompt as root, is to create another sshd instance listening to a port above 1024. In this example I have used port 10022. Copy /Library/LaunchAgents/com.openssh.sshd.plist to /Library/LaunchAgents/com.openssh.sshd2.plist Change the Label and the SockServiceName in com.openssh.sshd2.plist by appending 2 to ssh / sshd: ...


1

The reason is because iOS 7 and 8 sandbox the apps from the App Store. The easiest workaround is below (adapted from http://blog.funroll.co/ios-7-jailbreak-enable-ssh-to-localhost) Install OpenSSH via Cydia Get on the same wifi network as your Mac Grab your IP address from Settings -> Wifi -> (i) icon Open Terminal on your mac and ssh root@ Default ...



Top 50 recent answers are included