Results 1 to 5 of 5

Thread: SSH problem

  1. #1


    Member Since
    Oct 01, 2007
    Posts
    63
    SSH problem
    Hi guys,

    I'm trying to remotely log onto my MBP from a Mac Mini on the same network. I've gone into settings and enabled remote login, and it handily tells me what i need to do to remotely login 'ssh me@192.168.1.4' - where me is my name and not my username.

    So when I go to terminal on the other mac and type 'ssh me@192.168.1.4' the connection just times out. I tried it with my username, i.e. 'joe bloggs@192.168.1.4' and get a different error message, which I think is to do with the fact there is a space in my username.

    Any suggestions about where I am go wrong?

    Cheers

  2. #2

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    The user you use to remote login with needs to be the user on the machine you are remote logging onto.

    From MBP to MM the user needs to live on the MM and should be the shortname of the user. ie joebloggs not Joe Bloggs. Whatever it says in the Users folder to describe the home directory on the MM.

    Make sense?

    I tried reading my own post a few times and it doesn't sound good, but the gist is there.

  3. #3


    Member Since
    Oct 01, 2007
    Posts
    63
    I tried the user name on my users folder, but that didn't seem to work either? On the MM I was using someone elses user account, but I thought that didn't matter as I'd 'log in' to my account on the MBP? Cheers.

  4. #4

    GroovyLinuxGuy's Avatar
    Member Since
    Apr 03, 2006
    Location
    Edmonton, Canada
    Posts
    125
    Specs:
    15" MacBook Pro, 12" iBook G4, 14" iBook G4 running Ubuntu 7.10
    Quote Originally Posted by The Physicist View Post
    I tried the user name on my users folder, but that didn't seem to work either? On the MM I was using someone elses user account, but I thought that didn't matter as I'd 'log in' to my account on the MBP? Cheers.
    It doesn't matter who's account you are ssh'ing from so long as you are using your account to log into

    ssh me@myremotecomputer.

    try using your the shortname that you have for your account.
    eg my Username on my account it John Doe, when i ssh anywhere I use jd@someplace.

    Also, if you have the same account name on both boxes, you don't need to use a username at all...just

    ssh aaa.bbb.ccc.ddd

    where abcd is the other machines ip address

    If you are still getting errors, please post them and we can take a look and see what is going on

    Cheers

  5. #5


    Member Since
    Oct 01, 2007
    Posts
    63
    Thanks for the advice guys - I'm now at home (the network with another mac on was at my girlfriends). I will try again next weekend and post on here. Cheers again.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SSH not listening to SSH port
    By rameses in forum OS X - Operating System
    Replies: 2
    Last Post: 01-04-2013, 08:39 AM
  2. Password to ATV2 via SSH problem
    By viskelaer in forum Internet, Networking, and Wireless
    Replies: 2
    Last Post: 02-25-2012, 05:18 PM
  3. Problem with passwordless ssh "Connection closed by ::1"
    By rpmgatech in forum OS X - Operating System
    Replies: 2
    Last Post: 09-29-2011, 05:37 PM
  4. ssh problem
    By bluesunquake in forum OS X - Apps and Games
    Replies: 1
    Last Post: 05-06-2009, 10:13 PM
  5. SSH problem...
    By moebius in forum OS X - Operating System
    Replies: 2
    Last Post: 11-17-2008, 11:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •