IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New ssh_keygen as different user?
I'm trying to set up password-less login to several clients' servers. Problem is, the username on their servers isn't the same as the username on my local box. So the public key from this box doesn't work.

Do I need to actually create all those users here to generate the keys? And if I do, will I need to logged in as that user for the key to work?
--

Drew
New What's wrong with dropping your
auth file in the ~/.ssh dir and logging in as that user?
New Tried that, didn't work
I was still prompted to log in. If it's supposed to work that way, I'll go try again, maybe I typoed something.
--

Drew
New ssh no-password login is very sensitive to...
...file and directory permissions. chmod 700 for the .ssh/ dir in your homedir, and 600 for the authorized_keys2 file inside that directory.

If not, it doesn't work, as it assumes they're compromised, or something to that effect.
-Mike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New DING DING DING ^^^ what he said.
New +5 Informative.
I've found it also looks for ~/.ssh/authorized_keys not ~/.ssh/authorised_keys :-/

Not that you'd have that problem, I imagine.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New Never really notice that anymore
living right next door to the "z for s" guys... you just get really used to it.
New Turn on debugging
lots and lots of info available from the ssh client by turning up the verbosity.

If you are able to run the sshd daemon on the server, you can have it listen on a different port (so the system daemon can still be running), and you can up the the debugging/verbosity level on the server process. Don't run it in the background.

You watch the debugging on both processes and usually determine the problem.
New Can't do it on the server
If I had that kind of control over the server, I'd just set up the username I want. Will try more verbosity, though, see what I see.
--

Drew
     ssh_keygen as different user? - (drook) - (8)
         What's wrong with dropping your - (crazy) - (7)
             Tried that, didn't work - (drook) - (6)
                 ssh no-password login is very sensitive to... - (mvitale) - (3)
                     DING DING DING ^^^ what he said. -NT - (folkert)
                     +5 Informative. - (static) - (1)
                         Never really notice that anymore - (jake123)
                 Turn on debugging - (crazy) - (1)
                     Can't do it on the server - (drook)

She has not, incidentally, allowed this episode to turn her into an anti-cucumber crusader.
89 ms