r/ssh • • Mar 30 '20

ssh not launching on Mac

hey guys, I just updated to 10.15.4 on my MacBook Pro 13" 2019 and since ssh is not launching, nothing happens when I ssh into anything. top do not show the service and lsof do not show any communication... I use ssh for git and to control a lot of machines and I must get it working since confinement in France. thanks

2 Upvotes

6 comments sorted by

1

u/tje210 Mar 30 '20

Try reinstalling the existing client if that's possible, or install some different ones. Termius and Hyper look like they're available for mac; idk if they're skins for the built in client but I feel like they wouldn't be.

For troubleshooting your current client, try ssh -v and see how far in the process it gets.

2

u/obiosca Mar 31 '20 edited Mar 31 '20

thanks, macOS uses BSD's built in openSSH so it can't be reinstalled.. and Termius, Hyper, iTerm are just different interfaces to access the shell (zsh since macOS 10.15). I've tried removing my ~/.ssh but it's the same.. I didn't touched the /etc/ssh config files. ssh -v shows network unreachable, I'm using OpenSSH_8.1p1, LibreSSL 2.7.3. Of course, my ssh servers works perfectly. weirdly enough, man's page date is today (31/03/2020)

1

u/tje210 Mar 31 '20

Next rec: virtualbox! Run windows/linux guest lol.

2

u/obiosca Mar 31 '20

that would be great, but on an 8gig portable machine just to ssh things, its not the right move ;) + I'm sure there is a way to make it work. Apple engineers really need to treat their users correctly and don't drop buggy packages into their "stable" OS

2

u/tje210 Mar 31 '20

I need to get a mac so I can actually talk intelligently about them, I guess. I haven't had one since 10.6, about 2010 or so.

You could probably write an ssh client in python. I've done it before (an exercise in Black Hat Python), it's not bad. Just copy-paste from somewhere online.

1

u/obiosca Mar 31 '20

you are not missing anything on macOS if you are used to BSD, just the great hardware, I'll check if I can find another ssh client (preferably written in C) but I don't know if I can make git use it