![]() ![]() (When you test this, remember to enable either ‘Screen Sharing’ or ‘Remote Management’ (i.e Apple Remote Desktop) access in the ‘Sharing’ pane in System Preferences on the remote Mac.) So, how do I tell both systems to ‘tunnel’ the screen sharing traffic through ssh? Since VNC itself is inherently insecure, (mac Screen Sharing adds a few things to make it more secure) this port is blocked by many firewalls. Screen Sharing on macOS uses the VNC port 5900 to connect to a remote Mac. Imagine you want to use Screen Sharing to connect to a remote Mac ( ). You can use ssh port forwarding or ‘tunneling’ to gain access to other services through ssh. (Though some administrators move ssh access to a different port than the default 22.) Since ssh, when setup correctly, is quite secure, you can usually get access to a server with ssh even when other protocols are blocked. SSH Tunnels with Two ComputersĪccess to important services are usually blocked behind a firewall or router. In a similar way, ssh can be used to provide access to other remote services as well. Rather than providing the shell itself, ssh provides a secure way to transmit data to and from the remote shell. It can be used to connect securely to a remote shell, or to transfer files securely. We have learned so far that ssh is a really useful and flexible protocol. Please consider supporting Scripting OS X by buying one of my books! Quick Introduction to SSH for Mac Admins.So far in this series of posts on ssh on macOS:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |