Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Dealing with a second SSH key
- Date: Fri, 10 Oct 2008 14:56:20 +0200
- From: Christian Horn <chorn@example.com>
- Subject: Re: [tlug] Dealing with a second SSH key
- References: <48EF15ED.90004@jj.em-net.ne.jp> <20081010090019.GA25571@fluxcoil.net> <48EF3C36.1080601@jj.em-net.ne.jp> <20081010115023.GA25914@fluxcoil.net> <48EF4E3F.3060403@jj.em-net.ne.jp>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Oct 10, 2008 at 09:44:47PM +0900, Charles Muller wrote: > Christian Horn wrote: > >Charles Muller wrote: > >> > >>and put it in the .ssh directory of my home folder on the remote server. > >>I can do rsync, but I am still prompted for a password each time. I Sorry, i misread that as passphrase. So maybe the ownerships/modes of your files on the remote server are broken. > >To circumvent this just enter nothing when prompted for the keyphrase > >while key-generation. Warning: obviously someone stealing the private- > >key can then directly use it, so you should later at least restrict > >what can be dont with the key (using command=... in the authorized_keys > >file). > > I still get the password prompt--and the only way to get in is by typing > in my original password. Certainly, I am missing something here. Log onto the remote box as root, execute /usr/sbin/sshd -p 2222 -ddd and from your other box use ssh -p 2222 -i /home/dir/.ssh/id_dsa_keyfile user@example.com This should produce quite some debugging-out - and tell you what prevents pubkey-auth. Christian
- Follow-Ups:
- Re: [tlug] Dealing with a second SSH key
- From: Charles Muller
- References:
- [tlug] Dealing with a second SSH key
- From: Charles Muller
- Re: [tlug] Dealing with a second SSH key
- From: Christian Horn
- Re: [tlug] Dealing with a second SSH key
- From: Charles Muller
- Re: [tlug] Dealing with a second SSH key
- From: Christian Horn
- Re: [tlug] Dealing with a second SSH key
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Dealing with a second SSH key
- Next by Date: Re: [tlug] Dealing with a second SSH key
- Previous by thread: Re: [tlug] Dealing with a second SSH key
- Next by thread: Re: [tlug] Dealing with a second SSH key
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links