[PLUG] ssh passwordless login

Daniel Johnson teknotus at gmail.com
Mon Oct 20 21:36:21 UTC 2014


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 most common problem is incorrect filesystem permissions on the
remote system. To make sure I always get them right I have ssh make
the .ssh directory for me. On the remote machine I invoke "ssh
localhost", and then kill it without logging in. It creates a .ssh
directory with the right permissions, and puts a known_hosts file in
there. The permissions to that .ssh directory is always right, and the
known_hosts file has the same permissions that you need for the
authorized_keys file.

-- 
teknotus (Take Notice)



More information about the PLUG mailing list