ssh to Listen 443 on Snow Leopard
Surf everywhere as if you were at home
In order to bypass evil company firewall and to surf safely on unsafe
Then from my laptop or my local computer I just have to launch the marvelous
and a local
I get this information from this post.
Ssh and Snow Leopard(c)
Here I don’t want to talk about how great
I have Mac with Snow Leopard(c) at home and it is far from enough to modify the /etc/sshd.config
file. The system use launchd
to launch starting daemons.
I posted the question on Apple Discussions in this discussion thread. Thanks to all guys who helped me. And the solution is:
Create the file /Library/LaunchDaemons/ssh-443.plist containing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>local.sshd</string>
<key>Program</key>
<string>/usr/libexec/sshd-keygen-wrapper</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/sshd</string>
<string>-i</string>
</array>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>https</string>
</dict>
</dict>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>SHAuthorizationRight</key>
<string>system.preferences</string>
</dict>
</plist>
It is a copy of /System/Library/LaunchDaemons/ssh.plist
with some modifications:
- the
SockServiceName
fromssh
tohttps
. - the
Label
fromcom.openssh.sshd
to something not existing aslocal.sshd
Tell me if it was helpfull or if you have any question.