Re: Automating SSH login

Andrew Tristan (andrew@babylon.riverside.ca.us)
Mon, 3 Aug 1998 14:57:38 -0700


If you want to go from hosta to hostb without being prompted for a
password, one thing you can do is put your public key from hosta into
hostb:~/.ssh/authorized_keys. (And don't use a passphrase for your
ssh key.)

-- On Aug 3, 2:50pm, Dave Wreski wrote:
> Subject: Re: Automating SSH login
>
> > Is there a way to use SSH to automate a login? I want to be able to just
> > 'ssh server' in a script, and have it log in without prompting me for a
> > password. Something to do with the keys perhaps?
>
> Configure /etc/sshd_config to allow empty passwords, and give the account
> a null key. You can also check out ssh-agent, which allows you to
> securely store a key in memory.
>
-- End of excerpt from Dave Wreski --

-- 
andrew@babylon.riverside.ca.us

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu