6
5
I have some Windows PCs on my network. I have Mac OS X. I try to access some Windows PCs in the network to read and write files. In OS X Finder, I see the computer_name and I can connect as Guest. But in the terminal, how can I do that?
I tried ssh computer_name
, but it says "connection refused". I tried ssh asdfasdf
(a computer_name that does not exist) and it gives me the same "connection refused". The leads me to suspect ssh computer_name
is not the right command to access a computer, which I found on the SU answer and google.
Windows 10 now includes both SSH client and server! Has for almost a year for preview builds (https://blogs.msdn.microsoft.com/commandline/2018/01/22/openssh-in-windows-10/), and the client portion is out of beta and enabled by default in the recent releases. For the server portion, still branded beta and disabled by default, you can also read this: https://www.bleepingcomputer.com/news/microsoft/how-to-install-the-built-in-windows-10-openssh-server/. (Obviously, neither of these solve the problem if the server wasn't enabled before-hand.)
– CBHacking – 2018-12-30T02:46:07.8871Not an answer, but some information: ssh is a way to connect to computers that are running an ssh server. Most (if not all) UNIX-y systems (including OS X and Linux) can run ssh servers, and these can be easily turned on with built-in software. Desktop Windows does not (to my knowledge) come with an ssh server to turn on, though you (presumably) could get one and install it. (This is not an answer as I can neither point you to a Windows ssh server package nor do I know any alternative solutions.) – Cajunluke – 2012-01-06T01:22:20.243
Just as FYI. Syntax of ssh is 'ssh username@10.10.10.10'. – Paperlantern – 2012-01-06T02:29:04.197
but i only know the computer name, not IP information... – KMC – 2012-01-06T02:34:48.637
For ssh, you can use computer name as well, but again i was just building on his info, this doesn't answer your question, this is for ssh to other *nix machines, see below for my direct answer. – Paperlantern – 2012-01-06T03:00:58.670