Ask HN: How do you like developing on an M1 Mac so far? : vi

Ask HN: How do you like developing on an M1 Mac so far?


I do all of my development remotely via ssh and local forwards
I do a little with SSH tunnels, but not much. Do you mean you have it set up so that on your Mac you can go to localhost:8080 (or whatever) in your browser and it will actually go to the remote machine?
Yes, just set up a localforward in your .ssh/config like this:
Host dev
HostName ip_of_dev_box
User my_username
ForwardAgent yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_m1_air
LocalForward 8443 localhost:8443
LocalForward 8080 localhost:8080
LocalForward 8065 localhost:8065
LocalForward 3000 localhost:3000
...
Those line's effectively mean forward my local port 8443 to the remote host's 8443. The local port + remote port (and even the remote host) don't need to be the same.

Related Keywords

, Android Emulators , Intel Macs , இன்டெல் ம்யாக்ஸ் ,

© 2025 Vimarsana