SSH / Terminal / huh?

Discussion in 'Mac Help/Tips' started by jvaska, Oct 9, 2002.

  1. jvaska
    Expand Collapse
    macrumors 6502

    Feb 18, 2002
    i could easily do this on i'm

    i'm trying to telnet (ssh?) to a website in osx to change some permissions...i can connect to it...but the problem is that it seems to be connecting with the username on my computer...

    i use - ssh

    it asks for a password, which i enter, but it's not the right password on the terminal window displays MY username...the window doesn't ask for a username...only the password...this isn't right...


    i would delete this if i could...but i found the answer...

  2. peterjhill
    Expand Collapse
    macrumors 65816


    Apr 25, 2002
    Seattle, WA
    When you use ssh it tries to log you in with the username of the user that invokes the ssh command. Unless your username on your mac matches the username on the machine you are trying to connect to, it won't work. What you need to do is either use the -l username flag or better yet do this:

    ssh username@host

    so, my username is phill and if i wanted to log into, i would do this



    ssh -l phill
  3. sparkleytone
    Expand Collapse
    macrumors 68020


    Oct 28, 2001
    Greensboro, NC
    also slogin would probably be better for you to use. just drop to terminal and type 'man slogin' to get the syntax.

Share This Page