You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Terminal SSH not showing full path on remote server

Hi,


I just updated to macOS 16 and now when I ssh into a host, it doesn't show me the file path of my current working directory. This used to be the default behavior. Does anybody know how to get it back? (where the $ is there used to be the username and the cwd)

Posted on Nov 9, 2022 5:27 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 9, 2022 5:53 PM

This was because my ssh server (ubuntu) was using /bin/sh instead of /bin/bash. Run sudo dpkg-reconfigure dash to reconfigure.


Note - not a Mac problem

1 reply

Terminal SSH not showing full path on remote server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.