thomasliju
asked on
username
in a sunsolaris machine
I logged in like this
nj09mhf0005[oracle:utildb] 3: ssh nj09mhf0362
what is the username here
I logged in like this
nj09mhf0005[oracle:utildb]
what is the username here
If no user is given on the commandline ssh uses the name of the user you're logged in as, here probably "oracle", but please verify with "whoami" or "echo $USER"
"nj09mhf0362" is the name of the target host, by the way.
"nj09mhf0362" is the name of the target host, by the way.
ASKER
I confused you with the command..
This is just the prompt
nj09mhf0005[oracle:utildb] 3:
From this what is the username:
This is just the prompt
nj09mhf0005[oracle:utildb]
From this what is the username:
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes it is absolutely correct.
Thank you.
Thank you.
Open in new window
The nj09mhf0005[oracle:utildb]
In that case, you attempted to ssh into the nj09mhf0362 machine, and it will use whatever username was of the currently logged in user on your currently machine.
If you want to explicitly specify a user to login as on the remote machine, use a command like ssh someuser@nj09mhf0362