Welcome to http://www.marssoft.de/
 
Monday, 16th September 2019 10:42:44 (GMT+1) 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guides:mac_setup [2011/03/22 19:47]
mario added home-directory symlinks
guides:mac_setup [2014/04/02 22:39] (current)
Line 1: Line 1:
 +=====SSH listening on non-std port=====
 +
 +From http://​hints.macworld.com/​article.php?​story=20050707140439980
 +
 +You can easily just add an entry to /​etc/​services such as ssh2, pointing to a second port (or using an existing services entry that isn't being listened too), then modify the ssh.plist file to use that entry for SockServiceName. By doing so, sshd will only listen to that port, yet leaving ssh client activity unaffected. So, in my case, I added the following to /​etc/​services:​
 +<​code>​
 +  ssh2              10022/​udp ​
 +  ssh2              10022/tcp
 +</​code>​
 +
 +Next I modified my /​System/​Library/​LaunchDaemons/​ssh.plist,​ changing the SockServiceName lines from what's shown above to this:
 +<​code>​
 +  <​key>​SockServiceName</​key>​
 +  <​string>​ssh2</​string>​
 +</​code>​
 +
  
 =====Use /home/ for symlinks to real home directory===== =====Use /home/ for symlinks to real home directory=====
guides/mac_setup.txt · Last modified: 2014/04/02 22:39 (external edit)