Hi Anders, I got your back on this one, here we go.

What you need to do is include your user name in the string so something like 
this.

ssh [email protected] <mailto:[email protected]> where anders is my guess 
at your username and the @ symbol and then the IP address.   What’s happening 
is if you don’t define the user the user your logging in from on the linux side 
is included so in that case it’s sending [email protected] 
<mailto:[email protected]> but this won’t work.  Your root password is probably 
not defined as something you know or root login may be disabled entirely for  
security reasons.  If you want root on your mac do the following.

ssh [email protected] <mailto:[email protected]>
enter the password that you defined for your local user account

Then at the prompt type
sudo su -
enter your password (local user account) again when prompted and you’ll switch 
to root, note this is dangerous as root has full access and any mistakes may 
break something.  A better policy is to figure out what command you want to run 
as root ahead of time then do from your local user
sudo command-you-wish-to-run -any-parameters 
this way you just run the task only as super user.

Let me know if that helps remember, the user name you want to pass before the @ 
is the target user on your mac so what ever you log in with, use that one.

Hope that helps

> On Oct 28, 2016, at 5:58 AM, Anders Holmberg <[email protected]> wrote:
> 
> Hi!
> I am not good in networking and when it comes to ssh i have just don’t got 
> the hang of ssh keys and such things.
> SO i normally when i want to ssh into my mac from my linux machine only type 
> ssh and then the ip adress.
> However i have got a big problem here.
> When i type the string ssh (myip) i come to the password prompt.
> Now i type the password several times and after the third or fourth time  i 
> see the following on my braille display:
> root@(myip) password:
> So i type the password again and gets a permission denied until i am thrown 
> back to my linux machine’s prompt.
> I have opened ssh in airport utility but it seems not opened because when i 
> did that on my mac and updated the settings it was not opened when  i checked 
> from my iphone.
> Remote login is enabled on my mac so it should work.
> Well any help is appreciated.
> Thanks.
> /A
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> [email protected] and your owner is Cara Quinn - you 
> can reach Cara at [email protected]
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/[email protected]/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
[email protected] and your owner is Cara Quinn - you 
can reach Cara at [email protected]

The archives for this list can be searched at:
http://www.mail-archive.com/[email protected]/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to