Remote login using terminal - Yosemite to Ventura

Do I have to log out of my computer in order to use terminal to log in remotely from another location ?


I have followed the Apple instructions for Terminal Remote Log In but nothing happens.


I've never done this before so I don't know what is supposed to happen.


Is terminal supposed to open a window that shows me the desktop of the other computer and allows me to control it or do I need some other software to facilitate that ?


I am attempting to remotely log in to a new Mini M2 Pro running Ventura from a Late 2009 Mac Mini running Yosemite 10.10.5


This is how Terminal reads after I hit return :


Last login: Thu Apr 6 15:06:28 on xxxx000

xxxxxx-xxx-xxxx-x:~ xxxxx$ ssh xxxxxxxxxxx@xxx.xxx.xx.xx xxxxxxxxx

Mac Mini M2 Pro Password


Nothing happens.

Thanks for your time.


Mac mini, OS X 10.10

Posted on Apr 6, 2023 3:41 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 7, 2023 3:42 AM

In your case, using remote login via SSH doesn’t seem like anything that would help you. Use AnyDesk instead. You can install it on both machines and access the screen of your target machine. You can even set passwords to provide unattended access (the session doesn’t have to be confirmed on the target computer. AnyDesk does not require port forwarding and is free for personal use.


Going forward, you can look into using OpenCore Legacy Patcher to update your 2009 Mac mini to a more recent version of macOS that it doesn’t officially support.

Similar questions

5 replies
Question marked as Top-ranking reply

Apr 7, 2023 3:42 AM in response to bobbymacbean

In your case, using remote login via SSH doesn’t seem like anything that would help you. Use AnyDesk instead. You can install it on both machines and access the screen of your target machine. You can even set passwords to provide unattended access (the session doesn’t have to be confirmed on the target computer. AnyDesk does not require port forwarding and is free for personal use.


Going forward, you can look into using OpenCore Legacy Patcher to update your 2009 Mac mini to a more recent version of macOS that it doesn’t officially support.

Apr 6, 2023 5:01 PM in response to bobbymacbean

Enabling Remote Login lets you access your target computer using SSH and SFTP, not telnet. The interface you are showing is kinda useless for that since you try to use telnet - which is a different service.


If you have Remote Login enabled, it allows you to access the target using SSH. To connect just use

ssh username@local_ip

and hit enter. You will then need to enter your target's password. Note that it won't show any characters nor * for security purposes. If you were to use the SSH option in the interface, it would do the exact same. It would just provide you with a GUI for the connection process - kinda useless considering you try to connect to a cli.

Apr 6, 2023 4:45 PM in response to bobbymacbean

Hello, when you enable remote login nothing visible will happen on the host machine. On the machine you access it from you will get access to the command line of your target computer inside your current shell. You will need to be on the same network for that - or set up port forwarding.


If you want to remotely control the GUI of your target machine, you're best suited with the screen sharing capability from the same menu. Same terms apply here: same network or port forwarding. If that's your intended use case, you might also want to look into using services like AnyDesk or Team Viewer which are easier to get working and free or personal use.

Apr 6, 2023 4:51 PM in response to bobbymacbean


Originally, following the Apple instructions, these windows were not a part of them.

It just said to open Terminal, enter the ssh machine / user name @ address followed by the password and hit return.


After posting I discovered this in the terminal operations options.


New Remote Connection > Remote Login >

+ Service Name (Secure Shell), Bonjour Name (_ssh_tcp.), Command to execute ( usr/bin/ssh), √ Include user name in command >

+ Enter the name or ip address of a server to display in the server connection browser.

User, No options


If this is the process I need to use, how do I determine what the Service Name and Bonjour Names should be ?

What is the correct “Command to execute” to enter ?

Do I check the “Include user name in command” box ?


What is the …..”… name or IP address of a server to display in the server connection browser.”


Thanks for your input and patience.

Apr 6, 2023 5:20 PM in response to DeEskalator

Looks like we were both posting a reply at the same time..

Apparently this is much more complicated than the Apple instructions led me to believe.


I'm doing some work for friends in San Francisco. I live about 70 miles north of them.

I need access to their computer to make changes and additions to software that is on their computer that I cannot run on my computer because mine is out of date and the operating system is no longer supported.


I enabled remote login on their end but apparently I should have also enabled screen sharing which I did not.


from your reply I'm guessing that I will need to set up port forwarding.


Will use of Any Desk or Team Viewer still require port forwarding or is that function built into those apps ?


Thanks for your timely and informative response.

Brian





This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Remote login using terminal - Yosemite to Ventura

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