ssh

Status
Not open for further replies.

paul

Dabbler
Joined
Aug 18, 2012
Messages
31
don't know when I'm ssh i can't login with a username e.g admin but it's using my macs username to login
how can i fix this so i can login with a username


Screen Shot 2012-08-19 at 3.04.23 PM.png
 

toddos

Contributor
Joined
Aug 18, 2012
Messages
178
That's how ssh on *nix-like OSes works (OS X is a *nix-based OS). If you don't specify a username in the format of "ssh user@target.host" where "target.host" is where you're trying to connect, it will attempt to connect as your current user. If the remote system doesn't have a username that matches, you obviously won't be able to log in. This is different than on Windows with a tool like PuTTy, where it will prompt you for a username rather than having to put it on the command line.

OS X ssh man page
 
Status
Not open for further replies.
Top