[PLUG] ssh passwordless login

Daniel Herrington herda05 at gmail.com
Tue Oct 21 19:34:01 UTC 2014


All,

I have permissions set to 600 on id_rsa.pub. I hvae explicitly set
IdentityFile in config, so it's using id_rsa.pub. I have removed id_rsa.
Also, I should mention that .ssh is in the home directory on an NFS mount.

However I suspect that it is something with what the server returns to
client in regards to the hostname.

So here is the setup:

source: serverA
target: severB (public internet alias: publicserverB.com)

ssh command: ssh foo at publicserverB.com

my firewall redirects anything hititng port 22 on publicserverB.com to
serverB. I think I may not have this configured correctly. In my
~.ssh/config file I do have HostKeyAlias set to serverB. However, is there
a way to figure out what host sshd is comparing or looking for?

Here is the log from the serverB sshd server (auth.log):
Oct 21 12:30:24 XXX sshd[29836]: Connection from XX.XXX.XXX.X port 38057
Oct 21 12:30:43 XXX sshd[29836]: Failed publickey for dan from
XX.XXX.XXX.XXX port 38057 ssh2

Can I increase logging in sshd above VERBOSE?

On Tue, Oct 21, 2014 at 11:29 AM, Ali Corbin <ali.corbin at gmail.com> wrote:

> > On Mon, Oct 20, 2014 at 1:45 PM, Daniel Herrington <herda05 at gmail.com>
> wrote:
> >> All,
> >>
> >> I'm stuck with a ssh passwordless login problem. Source machine is a
> >> solaris 10 box behind a firewall and NAT. The remote machine is Mint 13
> >> behind firewall and NAT.
> >
>
> The last time I had an ssh problem that ssh -vvv didn't help me with,
> I logged onto the target system and tailed /var/log/secure.  And it
> told me exactly what was wrong with my permissions.
> Ali
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 
Daniel B. Herrington



More information about the PLUG mailing list